The Python standard library and PEP8
emmanuel.surleau at gmail.com
Sun Apr 19 23:24:54 CEST 2009
> 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.
More information about the Python-list