Spaces in path name

David S davids at evertech.com.au
Thu Mar 13 18:16:57 EDT 2008


Hi,

I have some code in which I have to change some path names to get it to 
work. The original code seems to have assumed that path names would not have 
any embedded spaces.

I am not sure how to write the following line so when used in my script the 
path will be found.

ANT_CMD  = r'C:\Program Files\apache-ant-1.7.0\bin\ant'

Regards,
David 





More information about the Python-list mailing list