I think it's a file path problem, that's why I tried the file open dialog. I took a look at my path:

'/sagenb/servers/sage_notebook-sagenb.sagenb/home/daldrich/24/data/'

But that's on the sagenb server. Is there a way to upload my csv? That might make things simpler.

-d

At 01:43 PM 6/22/2012, you wrote:
What didn't work? I used a command like

   data = list(csv.reader(open('/path/to/BP.csv', 'rb')))

and got a message "_csv.Error: new-line character seen in unquoted field - do you need to open the file in universal-newline mode?" (probably because of how I created the csv file), so then I tried

   data = list(csv.reader(open('/path/to/BP.csv', 'rU')))

which worked just fine.

--
John

--
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at <http://groups.google.com/group/sage-support>http://groups.google.com/group/sage-support
URL: <http://www.sagemath.org>http://www.sagemath.org

--
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to