help - Module needs access to another module

abcd codecraig at gmail.com
Tue Mar 20 09:46:27 EDT 2007


I have the following directory/file structure...

c:\foo\utils.py
c:\foo\bar\ok.py

In ok.py I want to do something like...

import utils
utils.helpMeDoSomething(....)

However, it seems that ok.py doesn't "know" about utils.  Other than
manually configuring sys.path what can I do?

thanks




More information about the Python-list mailing list