[Python-Dev] CSV, bytes and encodings (original) (raw)
Aahz aahz at pythoncraft.com
Thu Apr 2 06:35:22 CEST 2009
- Previous message: [Python-Dev] CSV, bytes and encodings
- Next message: [Python-Dev] CSV, bytes and encodings
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Wed, Apr 01, 2009, skip at pobox.com wrote:
Antoine> Perhaps. But without using 'rU' the file couldn't be read at Antoine> all. (I'm not sure it was Windows line endings by the way; Antoine> perhaps Macintosh ones; anyway, it didn't work using 'rb') Please file a bug report and assign to me. Does it work in 2.x? What was the source of the file?
Perhaps there have been changes, but in my last job, I was running into this problem with Python 2.3, and I also needed to open with 'rU' under Linux.
Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." --Brian W. Kernighan
- Previous message: [Python-Dev] CSV, bytes and encodings
- Next message: [Python-Dev] CSV, bytes and encodings
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]