Python from the CLI
Various command line tricks for python.
Inline Execution
You can call python with the -c
argument to execute an inline script in the command line, e.g.
python -c 'print("hello")`
Last updated: 2020-03-22 14:55:18 -0700
Various command line tricks for python.
You can call python with the -c
argument to execute an inline script in the command line, e.g.
python -c 'print("hello")`
Last updated: 2020-03-22 14:55:18 -0700