Skip to content

dwalone/Latex2Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

Latex2Python

Frustrated from typing out complex mathematical expressions with tons of brackets in Python? This simple program takes a Latex expression generated by a symbolic maths builder and converts it to clean, syntactically correct Python code.

Usage

Type out your maths quickly in SymboLab, Desmos etc.

Example

Highlight and Copy

Run latex2python.py using python latex2python.py in the terminal, or just normally in an IDE

Paste when prompted and hit Enter

Example

Done!

Update - Support for variables

Example

yields

Example

Requirements

python 3.

About

Desmos to Python / SymboLab to Python / LaTeX to Python syntax converter for mathematical expressions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages