PYTHONPATH is installed by the python installer package (python-2.4.1.msi or python-2.4.1.exe) that you hopefully downloaded from: http://www.python.org
This program will show you the path ...
import sys
print sys.path
The result will be a list looking something like that:
['D:\\Python24\\Atest', 'D:\\Python24\\python24.zip', 'D:\\Python24\\Atest', 'D:\\Python24\\DLLs', 'D:\\Python24\\lib', 'D:\\Python24\\lib\\plat-win', 'D:\\Python24\\lib\\lib-tk', 'D:\\Python24', 'D:\\Python24\\lib\\site-packages', 'D:\\Python24\\lib\\site-packages\\Numeric', 'D:\\Python24\\lib\\site-packages\\PIL', 'D:\\Python24\\lib\\site-packages\\win32', 'D:\\Python24\\lib\\site-packages\\win32\\lib', 'D:\\Python24\\lib\\site-packages\\Pythonwin', 'D:\\Python24\\lib\\site-packages\\wx-2.5.4-msw-unicode']
depending on what you have installed and where Python is installed. The first element in the list is the present working directory.
It should not be necessary, but on Windows XP the path can be entered manually via the control panel, these are the steps:
control panel>System>Advanced>Environment Variable
vegaseat
DaniWeb's Hypocrite
Moderator
5,989 posts since Oct 2004
Reputation Points: 1,345
Solved Threads: 1,417