[CentralOH] csv.DictReader file mode
jep200404 at columbus.rr.com
jep200404 at columbus.rr.com
Mon Oct 22 20:55:35 CEST 2012
On Sun, 21 Oct 2012 22:46:15 -0400, jep200404 at columbus.rr.com wrote:
> csv.DictReader(z.open(f, 'rU'))
Going back and RTFMing[1], I see something that makes me wonder
about the wisdom of using universal newline support.
If csvfile is a file object, it must be opened with the ‘b’
flag on platforms where that makes a difference.
[1] http://www.python.org/doc//current/library/csv.html#csv.reader
More information about the CentralOH
mailing list