e 1.3
Evaluate and display command line expressions with ``python -me expr``
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 | # downloads |
|---|---|---|---|---|---|
| e-1.3.tar.gz (md5) | Source | 2010-12-30 | 1KB | 655 | |
| e-1.3.zip (md5) | Source | 2010-12-30 | 2KB | 591 | |
- Author: Michael Foord
- Home Page: http://www.voidspace.org.uk/python/weblog/index.shtml
- Keywords: console,interpreter,expressions
-
Categories
- Development Status :: 5 - Production/Stable
- Environment :: Console
- Intended Audience :: Developers
- License :: Public Domain
- Operating System :: OS Independent
- Programming Language :: Python
- Programming Language :: Python :: 2
- Programming Language :: Python :: 2.4
- Programming Language :: Python :: 2.5
- Programming Language :: Python :: 2.6
- Programming Language :: Python :: 2.7
- Programming Language :: Python :: 3
- Programming Language :: Python :: 3.0
- Programming Language :: Python :: 3.1
- Programming Language :: Python :: 3.2
- Topic :: Software Development :: Libraries
- Topic :: Software Development :: Libraries :: Python Modules
- Package Index Owner: Fuzzyman
- DOAP record: e-1.3.xml
