[Tutor] How can I add my folder to pythonpath?
Laszlo Antal
lantal at tmail.com
Fri Jun 23 22:59:06 CEST 2006
Hi,
This is how my directory looks
myprogram (this is the main folder for my program)
|
myprogram.py
mymodules (this is where I store my modules)
|
mymodule1.py
mymodule2.py
I would like to import from mymodules folder my modules1.py,
mymodules2.py into myprogram.py.
How can I add mymodules folder to pythonpath
from myprogram.py.?
So if I copy myprogram folder into an other pc than myprogram.py can
take care of adding mymodules folder to pythonpath.
Thank you in advance
Laszlo Antal
More information about the Tutor
mailing list