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
filename = tkFileDialog.askopenfilename()
csvfile  = open(filename, "rb")

But that didn't work either. Any suggestions?

Thanks,
-d


--
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