Evaluate and display command line expressions with ``python -me expr``
Project description
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
Project details
Release history Release notifications | RSS feed
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.2.zip
(2.3 kB
view hashes)
e-1.2.tar.gz
(1.9 kB
view hashes)