Module Import Path?

Paramjit Oberoi p_s_oberoi at hotmail.com
Sat Jul 31 13:24:10 EDT 2004


> I have just begun to learn python using o'reilly's Learning Python, and in
> chapter 3 it talks about importing modules. It has me make modules to
> practice using the 'import' and 'from' statements from the python command
> line.

If you are doing the imports from the interpreter, put the modules in the
current directory.  In case of a script, use the directory that the script
is in.





More information about the Python-list mailing list