I\'m writing a program which needs a user input for an polynomial function of x. I\'m using Tkinter and python 2.5.
I have a parser method which so far takes the inputt
It looks like you're implementing something that already exists, in python and other math languages. See for example:
http://www.gnu.org/software/octave/doc/interpreter/Solvers.html
http://stat.ethz.ch/R-manual/R-devel/library/base/html/solve.html