Hi premkiran,

On Mon, Dec 6, 2010 at 12:32 AM, premkiran <premiitm...@gmail.com> wrote:
> Is there a way to convert string expression to Numeric expression so
> that that can be put into simplify method.As otherwise ,the error is
>     if expr.is_Pow:
> AttributeError: 'str' object has no attribute 'is_Pow'

Can you post the whole session?

Normally, you would do:


In [1]: a = sympify("2/3")

In [2]: a
Out[2]: 2/3


Ondrej

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To post to this group, send email to sy...@googlegroups.com.
To unsubscribe from this group, send email to 
sympy+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sympy?hl=en.

Reply via email to