where can i find the module which has this function simpify. On Mon, Dec 6, 2010 at 3:43 PM, Abderrahim Kitouni <a.kito...@gmail.com>wrote:
> Hello, > في ن، 06-12-2010 عند 00:32 -0800 ، كتب premkiran: > > 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' > Ondrej gave you the answer without realizing : sympify :-) > > You need to use sympify to convert the string into a sympy expression, > and then pass that to whatever function you want (e.g. simplify) > > HTH, > Abderrahim > > > -- > 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 <sympy%2bunsubscr...@googlegroups.com>. > For more options, visit this group at > http://groups.google.com/group/sympy?hl=en. > > -- PREM KIRAN 2nd YEAR DEPARTMENT OF MECHANICAL ENGINEERING IIT MADRAS CHENNAI -- 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.