This issue makes me to think about renaming the simpify function to something more different from simplify. Possible candidates could be parse_expression, str2sympy, str2expr etc.
The similarity between "simpify" and "simplify" is misleading. On 6 pro, 12:45, prem kiran <premiitm...@gmail.com> wrote: > ya go it.THANKS > > > > > > On Mon, Dec 6, 2010 at 4:56 PM, prem kiran <premiitm...@gmail.com> wrote: > > 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 > > -- > 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.