What is a class?
steve at REMOVE-THIS-cybersource.com.au
Wed Mar 5 23:25:53 CET 2008
On Wed, 05 Mar 2008 13:49:20 -0800, castironpi wrote:
> Classes and modules are really similar. In Python they're really
> *really* similar.
Yes they are.
Both are namespaces. The very last line of the Zen of Python says:
>>> import this
Namespaces are one honking great idea -- let's do more of those!
More information about the Python-list