[Tutor] adding a new folder to Python's importable modules search path

Jeff Younker jeff at drinktomi.com
Mon Nov 26 08:14:47 CET 2007


> so when I run my script from the command line, the folder does seem  
> to be added to Python's importable modules search path.  When I  
> attempt to import my_module I get the error:
>
> ImportError: No module named my_module

Do your module directories have an __init__.py file
in them?

- Jeff Younker - jeff at drinktomi.com -


On Nov 25, 2007, at 9:00 PM, tpc247 at gmail.com wrote:



More information about the Tutor mailing list