Generate a Table of Contents for Multiple .ipynb Files

Type: Tech BlogDate: 2019 - 2 - 17Tags:
#Python#Jupyter

I keep my learning records and boilerplates as a cheat sheet collection on my GitHub (Repository), and I save multiple notebooks directly under the same directory. So, I wrote a script to extract the parts written in Markdown within each of those notebooks.

Usage

1% python nb_table_generator.py

or

1import nb_table_generator
2
3nb_table_generator.main(file_name="output_file_name")

src