[sage-support] Re: CSV file I/O

2012-06-22 Thread Jason Grout
On 6/22/12 1:57 PM, John H Palmieri wrote: On Friday, June 22, 2012 11:45:31 AM UTC-7, Dan Aldrich wrote: 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/'

Re: [sage-support] Re: CSV file I/O

2012-06-22 Thread John H Palmieri
On Friday, June 22, 2012 11:45:31 AM UTC-7, Dan Aldrich wrote: > > 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 wa

Re: [sage-support] Re: CSV file I/O

2012-06-22 Thread Dan Aldrich
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/201

[sage-support] Re: CSV file I/O

2012-06-22 Thread John H Palmieri
On Friday, June 22, 2012 7:53:04 AM UTC-7, Dan Aldrich wrote: > > Trying to read in a .csv file into sagenb. > > data = list(csv.reader(file('C:/Documents and Settings/Dan/My > Documents/Lab6.csv'))) > > Then I thought about using a file dialog instead: > > import csv > import tkFileDialog