第一步:
cmd鍵入:
pip install jupyter_contrib_nbextensions
jupyter contrib nbextension install --user
pip install jupyter_nbextensions_configurator
jupyter nbextensions_configurator enable --user
第二步:
啟動jupyter notebook,并打開網(wǎng)頁:
http://localhost:8888/nbextensions?nbextension=toc2/main

配置
重啟jupyter notebook
運行一個Cell后會看到運行時間:

運行時間