Re: Error message if there is a space in the source directory

2007-06-03 Thread lukefrancomusic
Wow, great!! That worked like a charm. Sorry about the excessive commenting, when looking it over I could see how that would be annoying. Thank you Peter! Luke -- http://mail.python.org/mailman/listinfo/python-list

Re: Error message if there is a space in the source directory

2007-06-02 Thread Peter Otten
[EMAIL PROTECTED] wrote: > I am trying to learn Python. I am working on a simple backup program > (code listed below). When using a source directory (the files to be > backed up) without spaces in the title, my program works fine [see > line 5]. If I try to access a directory with a space in the

Re: Error message if there is a space in the source directory

2007-06-02 Thread Mark Peters
> When using a source like this on line 5: > > source = [r'C:\test\test 2\\'] > > which has a space in the title, the program will not work. Try wrapping that argument in double quotes when you build the command -- http://mail.python.org/mailman/listinfo/python-list