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

Steve Holden steve at holdenweb.com
Thu Aug 18 12:45:01 EDT 2005


apa wrote:
> You can do it this way:
> 
> sys.path.append("C:\Temp")
> 
> Alejandro
> 
Better:

sys.path.append("C:\\Temp")

or

sys.path.append(r"C:\Temp")

regards
  Steve
-- 
Steve Holden       +44 150 684 7255  +1 800 494 3119
Holden Web LLC             http://www.holdenweb.com/




More information about the Python-list mailing list