> What makes you think Python is "an OO language"? Python is a dynamic object-oriented programming language that can be used for many kinds of software development.
First line on the Python official website. Was this a trick question? > What kind of OO > language allows you to do this: > > def square(x): > return x*x > > for i in range(10): > print square(x) Ruby, for instance. Allowing for procedural-style programming does not mean that a language does not implement (even imperfectly) an OO paradigm. Cheers, Emm -- http://mail.python.org/mailman/listinfo/python-list