default import path

Peter nospamjynyl at yahoo.co.nz
Tue Jul 29 04:22:27 EDT 2003


this quote is from GerritM of Tue, 29 Jul 2003 06:40 :
> "Peter" <nospamjynyl at yahoo.co.nz> schreef in bericht
> news:3f24c37e at news.maxnet.co.nz...
>> How can I edit the default import path for Python under Windows?
>>
>>
> create a piddle.pth file in the main Python directory (c:\prog~1\python in
> your case?), with the pathname of piddle as line of text in the file:
> c:\prog~1\python\lib\site-packages\piddle
> (check the last part, this is the directory on my machine)

Thanks!
I'll check it out next time I get to a machine running Windows.

cheers

Peter





More information about the Python-list mailing list