how do i add a new path into sys.path?

wen wenming_hu2002 at
Thu Aug 18 10:22:17 CEST 2005

on my system(win2k server, python 2.3.5),
>>> import sys
>>> print sys.path
['C:\\', 'C:\\WINNT\\system32\\',
'C:\\Python23\\lib\\site-packages', 'C:\\Python23\\DLLs',
'C:\\Python23\\lib', 'C:\\Python23\\lib\\plat-win',
'C:\\Python23\\lib\\lib-tk', 'C:\\Python23', 'D:\\Program Files\\DeLano

now, i wanna add  "C:\Python23\Pmw\Pmw_1_2\lib" into sys.path, how?

any help would be appreciated.

with my kind regards,

More information about the Python-list mailing list