e

Evaluate and display command-line expressions with "python -me expr"
Download

e Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Public Domain
  • Publisher Name:
  • Michael Foord

e Tags


e Description

Evaluate and display command-line expressions with "python -me expr" e is a module to evaluate and display command line expressions with Python -me expr. For example:$ python -me 1+12Like python -c but no need for a print statement.It allows multiple expressions:$ python -me 1+1 2+224As 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 Requirements: · Python


e Related Software