Question on Python path

Gonçalo Rodrigues op73418 at mail.telepac.pt
Mon Feb 25 11:02:48 EST 2002


I have put all my own modules in a subdirectory of site-packages. How
can I instruct Python (I'm using Python 2.2 on win2k) to also look up
this directory when a

import <whatever>

is found?

My Thanks,
Gonçalo Rodrigues

P.S: I have edited the registry directly by adding a User key in the
Pythonpath folder. Needless to say I do NOT want to mess directly with
the registry.



More information about the Python-list mailing list