[Csv] StringIO a bit of a lemon...

Andrew McNamara andrewm at object-craft.com.au
Fri Jan 31 02:27:05 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.

-- 
Andrew McNamara, Senior Developer, Object Craft
http://www.object-craft.com.au/


More information about the Csv mailing list