[Tutor] sys.path.append
ppaarrkk
simon_ecc at yahoo.co.uk
Wed Dec 17 16:20:17 CET 2008
I can do this :
>>> sys.path.append ( 'C:\dump1' )
but not :
>>> x = 'C:\dir1'
>>> sys.path.append(x)
or :
but not :
>>> x = ['C:\dir1']
>>> sys.path.append(x)
Can I append variables to the path, rather than explicit strings ?
--
View this message in context: http://www.nabble.com/sys.path.append-tp21054555p21054555.html
Sent from the Python - tutor mailing list archive at Nabble.com.
More information about the Tutor
mailing list