| 1 | initial version |
sage_eval does not have access by default to the variables declared in your session. Use the locals keword:
sage: eqs2 = [sage_eval(repr(xx), locals=globals()) for xx in eqs]
Depending on what you want to do, it may be more appropriate to use locals() instead of globals(). See http://stackoverflow.com/questions/7969949/whats-the-difference-between-globals-locals-and-vars.
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.