SymPy Gamma logo SymPy Gamma

sympify 
help(sympify)
See what Wolfram|Alpha has to say.

Experiment with SymPy at SymPy Live.