Skip to main content

Evaluate and display command line expressions with python -me expr For example:

$ python -me 1+1
2

Like python -c but no need for a print statement.

It allows multiple expressions:

$ python -me 1+1 2+2
2
4

As a bonus, if the first argument is a module name then it will output the location of the module source code:

$ python -me os
/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/os.py

Download files

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

Source Distributions

e-1.1.zip (2.3 kB view details)

Uploaded Source

e-1.1.tar.gz (1.9 kB view details)

Uploaded Source

File details

Details for the file e-1.1.zip.

File metadata

  • Download URL: e-1.1.zip
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for e-1.1.zip
Algorithm Hash digest
SHA256 8ca58e1c932258407b2d626ac5539d671f0a6b11856839c17b104244ec32354d
MD5 cf88c3702b970b5c0c42ad70523bd039
BLAKE2b-256 912254b4e3a237b9dea552b22f57213898f99c2ea3cb3a45ca471bf5b173a239

See more details on using hashes here.

File details

Details for the file e-1.1.tar.gz.

File metadata

  • Download URL: e-1.1.tar.gz
  • Upload date:
  • Size: 1.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for e-1.1.tar.gz
Algorithm Hash digest
SHA256 07edd0cecd78fda3acecbf7e9aaa5b8051bc4f0c554231bc30456930de891ea2
MD5 e01785f299aa4b79c8246de6a1784bcc
BLAKE2b-256 feb9b0d16297e4040349352fb430615a7fc18f9c220580c75ed74da2283b278d

See more details on using hashes here.

Release history Release notifications | RSS feed

1.4.5

1 file

1.4.4

1 file

1.4.3

1 file

1.4.2

1 file

1.4.1

1.4

1 file

1.3

2 files

1.2

2 files

This release

1.1 This release

2 files

1.0

2 files

0.0

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page