from sympy.parsing.mathematica import mathematica
Power with ** works
_mma = mathematica('3**2', {})
also the ^ works
_mma = mathematica('3^2', {})
but there seems to be a problem with *^ notation
_mma = mathematica('3*^2', {})
as ^ is parsed as **, without checking ahead if there is any "*^"
SympifyError: Sympify of expression 'could not parse '3***2'' failed,
because of exception being raised: SyntaxError: invalid syntax (<string>,
line 1)
Am I misusing the parser?
--
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 on the web visit
https://groups.google.com/d/msgid/sympy/d21ef284-37bb-4f4f-93c1-16efbcc24aadn%40googlegroups.com.