| 1 | initial version |
I believe sage_eval should take care of this issue. For example, the code below produces an integer.
s = '123^1234'
sage_eval(s)
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.