Pretty printing Sympy expression in Tkinter?

Viewed 15

Is there a way to pretty print a Sympy expression within a Tkinter window? I tried writing a function that finds the derivative of an expression (obtained from an Entry widget called Input) with respect to x and displays it pretty printed on the window, but need help finishing it off:

def differentiate():
    expression = Input.get()
    deriv = diff(expression, x)

    #Pretty print deriv on root window
0 Answers
Related