Thank you both for your helpful answers... Certain blogs/observations had led me to the way I asked the question here. like cannot use "x" and parse_expr has symbolize built in etc
Anyhow I will assimilate your info into the problem and it seems like it quite possible... thanks Daniel. On Tuesday, 6 January 2026 at 12:23:00 UTC Oscar wrote: > On Tue, 6 Jan 2026 at 11:34, Little Grey Men <[email protected]> wrote: > > > > Would like some advice on use of string "x" as expression source. > > "x**1" can work ok with sympify > > "1x" can work with parse_expr > > > > We try "x" with sympify and can see it return a type that is not > sympy.Expr > > Apparently "x" can never work by design <- will that change?, > > is some option combo to parse "x"? > > It is not clear what you mean here: > > In [15]: isinstance(sympify("x"), Expr) > Out[15]: True > > -- > Oscar > -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/sympy/925d67f9-9a96-4db8-8f41-d3ab02478418n%40googlegroups.com.
