Steven D'Aprano wrote:
> On Fri, 28 Mar 2008 22:31:07 -0400, Brad wrote:
> 
>> When reading a file into a list that contains windows file paths like
>> this:
>>
>> c:\documents and settings\brad\desktop\added_software\asus\a.txt
>>
>> I get a list that contains paths that look like this:
>>
>> c:\\documents and settings\\brad\\desktop\\added_software\\asus\\a.txt
> 
> 
> What makes you think that there are doubled backslashes in the string? 
> Look at this:

Sorry, my mistake... when testing with prints, printing the list itself 
showed double backslashes \\ in the paths, but when printing each path 
individually, it's only one back... should have tested more before 
posting. My apologies.

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

Reply via email to