I have a list, with some entries integer vectors, and some rational.
Say, in a file a.py I have the following:
dat=[[6,3,3,4,1,3/2], [6,3,3,4,1,1]]
print dat
If in Sage session I do
load('a.py') I get
sage: load('a.py')
[[6, 3, 3, 4, 1, 1], [6, 3, 3, 4, 1, 1]]
sage: dat
[[6, 3, 3, 4, 1, 1], [6, 3, 3, 4, 1, 1]]
which is obviously not what I want!
(typing 'dat=[[6,3,3,4,1,3/2], [6,3,3,4,1,1]]' at the Sage prompt
makes dat as it should
be, certainly, but I have 10000 lines in my data file....)
What is going on? This is with
Sage Version 4.5.3.rc0, Release Date: 2010-08-30
Any tips how to fix this?
Thanks,
Dima
--
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org