![]() |
|
|
+ Search |
![]()
|
Jul 5th, 2003 12:26
Alain Tesio, unknown unknown, Mike 'Cat' Perkonigg
The easiest way is to put '.' in your PYTHONPATH. But you can extend your path with any directory in your python code with: >>>import sys >>>sys.path.append (path-to-load-modules-from) If you don't want to change your python path, there are functions in the imp module to import a module if you know its path.