Is it possible to transfer results from sympy to 'normal' python.

In the case below I think my intention is clear enough but it does not work as 
intended. How can it be done?

Poul Riis




from sympy import *
x=Symbol('x')
ftext=diff(1/(x**2+1),x)

def f(t):
    return ftext.subs(x,'t')

print(f(3))
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to