saving local dir

Tim Golden tim.golden at viacom-outdoor.co.uk
Fri Oct 29 08:26:09 EDT 2004


[Bengt dePaulis]
| 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?
| 
| /Bengt
| Helsinki

You want to look at the PYTHONPATH environment variable

(If you know how to set this, skip the next bit)

You'll need to go to your computer's properties, select
[Advanced] (!) and then [Environment Variables], select
[New] and type in a name of PYTHONPATH and a value of
c:\python23\examples\py. [OK] all the way back out to 
reality.

(end of explanation)

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