Lateksowe matematyki Python Parser

from sympy.parsing.sympy_parser import parse_expr, standard_transformations, implicit_multiplication_application, convert_xor
transformations = (standard_transformations + (implicit_multiplication_application, ))
expression = parse_expr('-5abc^2', transformations=transformations)
Coderunner