gagsl-py2 at yahoo.com.ar
Sat Mar 17 10:59:55 CET 2007
En Fri, 16 Mar 2007 23:49:43 -0300, Nick Burns <theodoremouse at hotmail.com>
> Quick question. I am running python on windows xp. i want to import my
> module "mymod". However, when I try to import it i get the error message
> no module named mymod".
> "mymod" is located in a directory that is part of the computer's "path"
> variable. Imports fine if 'mymod' is in the current working directory,
> but not
> otherwise. i had thought that by saving 'mymod'within my normal path
> that it
> would import successfully, but this is not the case.
Python does not use the system PATH environment variable. Doing this:
you will see the list of directories that Python would try. Try saving
your module inside site-packages.
More information about the Python-list