Russell Stewart edited this page Mar 21, 2015 · 17 revisions
$ py -h
usage: py [-x] [-l] [-c PRE_CMD] [-C POST_CMD] [-V] [-h] [expression]

positional arguments:
  expression     e.g. py '2 ** 32'

Options:
  -x             treat each row of stdin as x
  -l             treat list of stdin as l
  -c PRE_CMD     run code before expression
  -C POST_CMD    run code after expression
  -V, --version  version info
  -h, --help     show this help message and exit

Note that -x and -l are mutually exclusive.

Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.