Usage¶
notebook2script¶
Convert Jupyter Notebooks to Python scripts.
notebook2script [OPTIONS] NOTEBOOK
Options
-
-f
,
--overwrite
¶
Overwrite existing files.
-
-o
,
--outdir
<outdir>
¶ Directory to save the output scripts in.
Arguments
-
NOTEBOOK
¶
Optional argument(s). Default
None
The recommended usage is to run notebook2script
after running the Jupyter notebooks.
That way the output of each cell will be included as comments in the script.