Simon Brunning wrote: > On 8/15/05, Rocco Moretti <[EMAIL PROTECTED]> wrote: > >>Which lead me to the question - what's the difference between a library >>and a framework? > > If you call its code, it's a library. If it calls yours, it's a framework.
Trying to add my 2 cents (As I do not agree with the above sentence): You build applications "on top of / using" libraries while you build applications "in the context of" a framework. A framework is more like a piece of swiss cheese were you fill the holes. The framework provides an overall structure with particular rules for its use, while the library provide basic blocks that you may assemble in your own way (even if some constaints exist). -- rafi "Imagination is more important than knowledge." (Albert Einstein) -- http://mail.python.org/mailman/listinfo/python-list