Module py
source code
py PYTHON_CODE
PYTHON_CODE is executed, and any variables defined are
available to subsequent commands in the same command line.
Example:
osh py 'a = 123; b = 456' ^ f '(a, b)' $
This command generates the output '(123, 456)'.
In addition to executing the specified code, input objects are passed
to the output stream.
|
python_code is executed. Any symbols defined by the
execution of this code are available to subsequent osh commands. Input
objects are passed to the output stream.
|