Strip notebooks of all data

A short function to strip everything but code from a Jupyter Notebook

source

strip_nbs

 strip_nbs (notebook_path:str, output_folder:str)

Removes all non-code cells from notebook_path and saves it in output_folder