Here is one option: https://github.com/augustt198/latex2sympy
moorepants.info +01 530-601-9791 On Wed, Jun 14, 2017 at 12:22 AM, Christophe BAL (via GMAIL) < projet...@gmail.com> wrote: > Hello. > > Because LaTeX is not mathmetically semantic, you can't have a perfect > converter from LaTeX to SymPy. > > > > > Le 14/06/2017 à 06:09, 821673...@qq.com a écrit : > > I have a lot of latex expression, such as: > a+b+c=0 > abc>0 > \frac{1}{a}+\frac{1}{b}+\frac{1}{c} > \left({a+b+c}\right)^2=a^2+b^2+c^2+2ab+2bc+2ac=0 > > I want a function, let's say latex2sympy(latex), to convert latex to sympy > expression? > > how can i do that? > -- > 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 sympy+unsubscr...@googlegroups.com. > To post to this group, send email to sympy@googlegroups.com. > Visit this group at https://groups.google.com/group/sympy. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/sympy/5f86b9c7-1ace-410c-aeb7-c57f505c42ff%40googlegroups.com > <https://groups.google.com/d/msgid/sympy/5f86b9c7-1ace-410c-aeb7-c57f505c42ff%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > > > -- > Christophe BAL > Enseignant Agrégé de Mathématiques > Programmeur Python Amateur > > -- > 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 sympy+unsubscr...@googlegroups.com. > To post to this group, send email to sympy@googlegroups.com. > Visit this group at https://groups.google.com/group/sympy. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/sympy/9dedee5e-10c9-6ef5-2a33-2c1f3591323c%40gmail.com > <https://groups.google.com/d/msgid/sympy/9dedee5e-10c9-6ef5-2a33-2c1f3591323c%40gmail.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- 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 sympy+unsubscr...@googlegroups.com. To post to this group, send email to sympy@googlegroups.com. Visit this group at https://groups.google.com/group/sympy. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/CAP7f1AhmuY25wPAV5Ds8CJxDcK81HS%3DtW5c2Sdxfves-GaHDqQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.