problem displaying sympy rendered svg in python
I have the following program which uses sympy and svgmath to render a user's algebraic expression. It nearly works but there are a few issues: The svg is not actually produced until the program exits so obviously cannot be diplayed. Is there a way to improve the performance (not looking up 'svgmath.xml' every time etc.)? Does an actual svg file need to be produced? Can svgmath pass output directly to the QSvgWidget? Many thanks and best wishes. from __future__ import division import sys import sympy from PySide.QtGui import * from PySide.QtCore import * from PySide.QtXml import * from PySide