I'm using [Sympy](http://sympy.org/)'s [sympify](http://sympy.googlecode.com/svn/api/sympy.core.sympify.html#sympy.core.sympify.sympify) function to simplify 2 expressions so I can compare them for equality.

For example:

```
expr1 = sympify("(2 * x) + (x + 10)")
expr2 = sympify("(x + 10) + (x * 2)")

if expr1 == expr2:
   print "Congrats those are essentially the same!"

```

However when using the form **2x** as apposed to **x\*2** i get a parse exception eg:

```
expr1 = sympify("2x + (x + 10)")

```

Is there any way I can get sympy to understand the **2x** form ? 

If not, is there any other library that will allow this form ?