Running
If you have no exercise at hand, you can copy the file examples.py from
the PyRope sources to your current folder. To find out where it is located,
run the following command.
python -c 'import pyrope; print(pyrope.examples.__file__)'
python3 -c 'import pyrope; print(pyrope.examples.__file__)'
Command Line
python -m pyrope run
python3 -m pyrope run
python -m pyrope run examples.py
python3 -m pyrope run examples.py
python -m pyrope run examples.py:FortyTwo
python3 -m pyrope run examples.py:FortyTwo
Jupyter Cell Magics
%pyrope run examples.py:FortyTwo