ofek / pyapp

Runtime installer for Python applications
https://ofek.dev/pyapp/
1.18k stars 27 forks source link

Add notebook_exec option #82

Closed quinnhornblow closed 7 months ago

quinnhornblow commented 8 months ago

This PR adds a PYAPP_EXEC_NOTEBOOK execution option. It works in the same way as PYAPP_EXEC_SCRIPT but a .ipynb file needs to be specified instead of a .py file. The -m notebook [file.ipynb] command is called at runtime.