skip to navigation
skip to content

Not Logged In

e 1.3

Evaluate and display command line expressions with ``python -me expr``

Latest Version: 1.4.5

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
 
File Type Py Version Uploaded on Size
e-1.3.tar.gz (md5) Source 2010-12-30 1KB
e-1.3.zip (md5) Source 2010-12-30 2KB
  • Downloads (All Versions):
  • 164 downloads in the last day
  • 499 downloads in the last week
  • 1985 downloads in the last month