Question on Python path

Tiago Castro Henriques tiago_castro_henriques at yahoo.com
Mon Feb 25 15:29:22 EST 2002


Gon?lo Rodrigues <op73418 at mail.telepac.pt> wrote in message news:<3qnk7ug977hk4peorufobtlo38nh8j9v87 at 4ax.com>...
> 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?
> 

Try using the following or similar:
sys.path.insert(0, "C:/Program Files/Apache Group/Apache/cgi-bin")



More information about the Python-list mailing list