On Mar 13, 5:16 pm, "David S" <[EMAIL PROTECTED]> wrote: > 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'
Try ANT_CMD = r'"C:\Program Files\apache-ant-1.7.0\bin\ant"' > > Regards, > David -- http://mail.python.org/mailman/listinfo/python-list