Dumb Newbie Question

Greg Ewing greg at cosc.canterbury.ac.nz
Mon Dec 11 19:14:00 EST 2000

Scott Weisel wrote:
> sys.path = sys.path + "c:\\python16\\programs

You're trying to add a list and a string.
You want to either do

   sys.path = sys.path + ["c:\\python16\\programs"]

or, more compactly,


Greg Ewing, Computer Science Dept, University of Canterbury,	  
Christchurch, New Zealand
To get my email address, please visit my web page:	  

More information about the Python-list mailing list