| 1 | initial version |
It is enough to add to sageruntest.py:
from sage.all import *
from sage.matrix.matrix2 import Matrix
Alternatively, the 2nd line (yours) is enough if you rename your file to sageruntest.sage (then it will be preparsed by Sage).
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.