| 1 | initial version |
Lazy alternative
sage: P._sympy_().subs(sympy.sympify({ x*y: w }))._sage_()
7*w^2 + 5*w*x + 6*w*y + 4*w + x + 2*y + 3*z
HTH,
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.