newbie q[modules]
Courageous
jkraska1 at san.rr.com
Fri Aug 18 02:12:10 EDT 2000
TTDCKD wrote:
>
> hey im not sure how to create module files can anyone help me plz.the book i
> have isnt to specific
A python "module" is a python file with the name of the module
and the .py extension. So, for example, if I typed the following
line...
import joe
... somewhere in a python program, the system would go off looking
for the "joe" module. It would do this by looking in its PATH and
PYTHONPATH for a file called "joe.py".
There's no trick to it, really.
C//
More information about the Python-list
mailing list