GOAL
- I have a long Jupyter notebook and I would like to convert it to a .py file while raw cells also become commented out lines like markdown cells
ERROR
- The issue is that when I run the
jupyter nbconvert --to script 05po_20210806_only_serving_productionise.ipynbCommand it translates normal "raw" cells to be active code while the whole point of a raw cell that they should not be running
TRIED
- What are raw cells in jupyter notebook
- I don't have this many options just the main 3 with Jupyter Lab - https://nbsphinx.readthedocs.io/en/0.2.4/raw-cells.html
- create a raw python file in jupyter notebook
- How do I convert a IPython Notebook into a Python file via commandline?