wen wrote: > on my system(win2k server, python 2.3.5), > >>>>import sys >>>>print sys.path > > ['C:\\', 'C:\\WINNT\\system32\\python23.zip', > 'C:\\Python23\\lib\\site-packages\\Pythonwin', > 'C:\\Python23\\lib\\site-packages\\win32', > 'C:\\Python23\\lib\\site-packages\\win32\\lib', > '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 > Scientific\\PyMOL\\modules'] > > now, i wanna add "C:\Python23\Pmw\Pmw_1_2\lib" into sys.path, how?
> any help would be appreciated. hint 1: Python lists have an append() and an insert() method hint 2: sys.path is a list HTH -- bruno desthuilliers python -c "print '@'.join(['.'.join([w[::-1] for w in p.split('.')]) for p in '[EMAIL PROTECTED]'.split('@')])" -- http://mail.python.org/mailman/listinfo/python-list