Can mathics-core be used as a library?
jonaprieto opened this issue · comments
Jonathan Cubides commented
As the title says. I'd like to use it on a Jupyter notebook for example?
Juan Mauricio Matera commented
Sure.
from mathics.session import MathicsSession
session = MathicsSession()
result = session.evaluate("Sin[Pi]").value
Jonathan Cubides commented
Oh great! Let me try it!
Juan Mauricio Matera commented
@jonaprieto Is there something else related to this issue, or shall I close it?
Jonathan Cubides commented
Thanks, it worked, I forgot to close it myself. ;)