CLI tools

Some support scripts for maintaining the book

A little script to correct chapter indices to base 1:


source

rename

 rename (dir:str, suffix:str='.ipynb')

Rename notebooks to base 1 for chapters.

Type Default Details
dir str dir in which to rename files
suffix str .ipynb suffix of files to change

A function to read a notebook and fix its colab links:


source