Skip to main content

Mathematical expression calculator in Python

Project description

eval

Mathematical expression calculator in Python.

Usage

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:

$ eval

LICENSE

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

expression-parse-eval-0.13.0.tar.gz (4.4 kB view hashes)

Uploaded Source

Built Distribution

expression_parse_eval-0.13.0-py3-none-any.whl (6.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page