Construct raw strings?

Peter Hansen peter at engcorp.com
Wed Sep 7 23:31:42 EDT 2005


Benji York wrote:
> It's not join that's getting you, it's the non-raw string representation 
> in path_to_scan.  Use either 'd:\test_images' or 'd:\\test_images' instead.

Benji, you're confusing things: you probably meant r'd:\test_images' in 
the above, but in any case I think Robert Kern's on the right track 
checking whether this is really about string literals...

-Peter



More information about the Python-list mailing list