2012/11/17 Keshav Kini <keshav.k...@gmail.com> > Sympy does this:: > > sage: from sympy import sympify, pprint > sage: pprint(sympify(sqrt(3))) >
I just tried also with a more "fancy" example: pprint(sympify(sqrt(3)*1/(2^e))) That's great. :D -- *Andrea Lazzarotto* - http://andrealazzarotto.com* * -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To post to this group, send email to sage-devel@googlegroups.com. To unsubscribe from this group, send email to sage-devel+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel?hl=en.