[issue15407] CSV parser fails to iterate properly on 2.6.6

Cal Leeming report at bugs.python.org
Fri Jul 20 17:45:23 CEST 2012


Cal Leeming <cal.leeming at simplicitymedialtd.co.uk> added the comment:

Sorry, accidently pasted the wrong code snippet previously. The correct code snippet is:

datx = open("data.txt", "rb").read()
rows = csv.reader( datx )
for row in rows:
    print x

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15407>
_______________________________________


More information about the Python-bugs-list mailing list