Hi all, well as you know S have constants like Reals, UniversalSet, EmptySet, etc... I need some way to can use it directly (eval some str and get it), this is because srepr don't return the full expression:
from sympy import *
srepr(S.Reals)
'Reals(-oo, oo, S.true, S.true)'
eval(srepr(S.Reals))
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "<string>", line 1, in <module>
NameError: name 'Reals' is not defined
Are some function to return the full expression? like 'S.Reals(-oo, oo, S.true, S.true)'
I'm not an expert in python, so this maybe can be fixed with an import, but i don't know which...
Thx. Cya.