On Sun, Jan 25, 2009 at 3:23 PM, C Lewis <chle...@nature.berkeley.edu> wrote:
> In matplotlib.mlab.csv2rec in 0.91.2 (*)
>
>        headers = reader.next()
>
> fails with "Error: new-line character seen in unquoted field - do you
> need to open the file in universal-newline mode?" Which sounds like a
> good idea, but I can't figure out how to specify that in/with/before
> calling csv2rec.
>

Perhaps you can post the file so we can take a look?  FYI, you can
pass a file handle in to csv2rec, so if you need to open the file in
some special mode, do so and pass csv2rec the file handle rather than
file name.

JDH

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to