What are modules really for?

Peter Hansen peter at engcorp.com
Wed Aug 10 07:34:51 EDT 2005


Dan wrote:
> You might think of modules in Python as like packages in Java. However,
> putting classes in the same module doesn't give them any additional
> powers to interact with each other. (At least, not that I know of.)

Use of "global" to rebind shared module-scope names...

-Peter



More information about the Python-list mailing list