[Tutor] sys.path.append() not permanent?

Bernard Lebel python at bernardlebel.com
Mon Aug 9 12:26:58 CEST 2004


Hello,

I'm appending a sys path for a module, but each time I launch python (using
PythonWin) the path is gone and I have to reappend it. Is there a way to
append the path so it actually stays appended?

I'm running:
sys.path.append(
'C:\\Python23\\Lib\\site-packages\\mysql-python-1.0.0.win32-py2.3' )


Thanks
Bernard



More information about the Tutor mailing list