[Csv] StringIO a bit of a lemon...
Andrew McNamara
andrewm at object-craft.com.au
Fri Jan 31 03:06:15 CET 2003
>Not only does StringIO lack a "mode" attribute, it also can't be used as
>an iterator (like real file objects), as it lacks a .next() method. This
>is somewhat annoying: if we accept an iterator, rather than specifically
>a file, it makes the module more generally useful.
Ignore me. I should be calling iter(fileobj).
--
Andrew McNamara, Senior Developer, Object Craft
http://www.object-craft.com.au/
More information about the Csv
mailing list