This will print your PYTHONPATH. If the path you want is not listed, and it shouldn't be because your program isn't found, then you have to use sys.path.append to add it. import sys
path_list= sys.path
for eachPath in path_list :
print eachPath
PYTHONPATH is only used by Python internally to find modules etc.
This person wants to use Window's Environment Variable.
Reputation Points: 404
Solved Threads: 180
Nearly a Posting Virtuoso
Offline 1,422 posts
since Jul 2005