First time here? Check out the FAQ!
answered 2015-09-26 17:09:32 +0100
I believe sage_eval should take care of this issue. For example, the code below produces an integer.
sage_eval
s = '123^1234' sage_eval(s)