Newbie: import

genkuro at gmail.com genkuro at gmail.com
Wed Apr 18 12:34:56 EDT 2007


I thought import used relative paths from either the python executable
or the script being executed.  I have a script pulling in code from an
arbitrary directory.  How is this happening?

It's a RHEL 4 environment by the way.  I couldn't find any relevant
environment variables.

Thanks from a newbie for any insight.




More information about the Python-list mailing list