Mathematical expression calculator in Python.
pip install expression-parse-eval
Read from a file:
$ cat text.txt
1**3+5
2**4**3
$ eval -f text.txt
6.0
15625.0
Command-line input:
$ eval 1 + 3**2 * 3
28.0
Interpreter:
$ python -m eval
MIT
🧮 Mathematical expression calculator in Python
Mathematical expression calculator in Python.
pip install expression-parse-eval
Read from a file:
$ cat text.txt
1**3+5
2**4**3
$ eval -f text.txt
6.0
15625.0
Command-line input:
$ eval 1 + 3**2 * 3
28.0
Interpreter:
$ python -m eval
MIT
🧮 Mathematical expression calculator in Python
MIT License