Try using Python's `eval` function:
sage: eval('y+x>=0')
x + y >= 0
sage: type(eval('y+x>=0'))
<type 'sage.symbolic.expression.Expression'>
--
Benjamin Jones
[email protected]
On Apr 24, 1:50 pm, tvn <[email protected]> wrote:
> I can convert 'x + 5' to equivalent expression with SR() but can't do
> the same to 'x+5>= 0' . Is there other way ? Thanks
--
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org