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
Hi folks,
I am having trouble trying to save a matrix P as a CSV file in Sage:
Def function(A,D):
(sage syntax for creating a matrix P)
return P
and then using a function which opens up the CSV file and utilizes the
entires in the matrix P, from the CSV file.
Is there a method for this?
Kin