marcus at internetnowasp.net
Mon Jul 28 19:57:27 CEST 2008
Basically a module is a FILE and is considered as a singleton model. Yes
ur wow.py assumption is correct.
I recommend getting Mark Lutz Learning Python book to get you started.
Hussein B wrote:
> I'm a Java guy and I'm playing around Python these days...
> In Java, we organize our classes into packages and then jarring the
> packages into JAR files.
> What are modules in Python?
> What is the equivalent of modules in Java?
> Please correct me if I'm wrong:
> I saved my Python code under the file Wow.py
> Wow.py is now a module and I can use it in other Python code:
> import Wow
More information about the Python-list