[Tutor] What is the Python Path in windows 98?

Pijus Virketis virketis@fas.harvard.edu
Wed, 14 Nov 2001 13:48:10 -0500


The Python path can be found thus:

>>> import sys
>>> sys.path()

# prints out path

>>>sys.path.append("c:/whatever/you/want")

# adds whatever you want to the path

Cheers, 

Pijus

p.s. By the way, this is (to my knowledge) system independent, so path
under win98 is found the same way as under Linux or Mac.
------------------------------------------------------------
PGP PUBLIC KEY: www.fas.harvard.edu/~virketis/links
My weblog: www.fas.harvard.edu/~virketis