Ad-hoc code
Useexecute_python_code for one-off probes and analysis.
- Prefer this over
python -cinrun_command. - Only persist files in
/workspacewhen you intentionally want a reusable artifact.
Existing scripts
Useexecute_python_script only when a .py file already exists.
Package management
install_python_packagesinstalls extra packages withuv.list_python_packageslists what is already available.