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()]