| 1 | initial version |
You need to define t and specify a mapping of that in file to the defined variable t - for example:
t = var('t')
with open(fp1, 'r') as fp:
L = [sage_eval(line, locals={'t':t}) for line in fp.readlines() if line.strip()]
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.