andrew cooke wrote:
do you know that a string with the letter "r" in front doesn't escape
slashes?  it's intended for regular expressions, but would simplify things
for you here too.

just do

  a=r'c:\\Program Files\test'


Yes, I knew that. Unfortunately in my program loop I really don't have the opportuity to use a raw string.

But, good reminder. Thanks.

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to