saving local dir

Tim Golden tim.golden at viacom-outdoor.co.uk
Fri Oct 29 15:39:06 CEST 2004


[Peter Hansen]
| Bengt dePaulis wrote:
| > I just started on python.
| > 
| > I have c:\python23\examples\py
| > and want to include that in my sys.path
| > 
| > How to do it permanently?
| 
| In addition to Tim's suggestion, you can also use
| ".pth" files, as documented primarily in the comments
| at the top of c:\python23\lib\site.py.

Funnily enough, that's exactly the approach I myself
use here, and my preferred approach too; I just forgot 
completely about when it came to answering the question.

TJG

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________



More information about the Python-list mailing list