Basically like when you call something like:
Math.abs(-5)
That's a library call.A framework is like django or rails. You have to structure your code to fit within django's paradigm, while a library is just utilities you can use in your own code...