[issue27356] csv

2016-06-20 Thread Emanuel Barry
Emanuel Barry added the comment: (Berker beat me to it, but posting anyway since it is more detailed) Backslashes are escape characters, and "\b" is treated as "\x08". Invalid combinations (e.g. "\A", "\D"...) automatically escape the backslash, but you shouldn't rely on this behaviour - as yo

[issue27356] csv

2016-06-20 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the report. \t is a tab character. You can use 'C:\\Users\\Anwender\\Desktop\\Test\\blub.txt' or r'C:\Users\Anwender\Desktop\Test\blub.txt' or 'C:/Users/Anwender/Desktop/Test/blub.txt' -- nosy: +berker.peksag resolution: -> no

[issue27356] csv

2016-06-20 Thread Fabian
New submission from Fabian: Hi, I am running Canopy on Windows 7 64 bit. When I run the attached file, I get the following error: > 5 with open('C:\Users\Anwender\Desktop\Test\blub.txt') as csvfile: 6 dialekt = csv.Sniffer().sniff(csvfile.read(1024)) IOError: [Errno 22] invalid