Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 546 Bytes

run.md

File metadata and controls

21 lines (15 loc) · 546 Bytes

Run Python scripts

DPDispatcher can be used to directly run a single Python script:

dpdisp run script.py

The script must include inline script metadata compliant with PEP 723. An example of the script is shown below.

:language: py
:linenos:

The PEP 723 metadata entries for tool.dpdispatcher are defined as follows:

.. include:: pep723.rst