Is there an easy way to print a symbolic expression so that it's valid python code? E.g.

  2*x^2 --> QQ(2) * x**QQ(2)

I frequently deal with expressions that are about two pages long and would like to be able to copy/paste them without cleaning up the code and making the expression importable.

--
To post to this group, send an email to [email protected]
To unsubscribe from this group, send an email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to