第一步:
cmd键入:
pip install jupyter_contrib_nbextensions
jupyter contrib nbextension install --user
pip install jupyter_nbextensions_configurator
jupyter nbextensions_configurator enable --user
第二步:
启动jupyter notebook,并打开网页:
http://localhost:8888/nbextensions?nbextension=toc2/main

重启jupyter notebook
运行一个Cell后会看到运行时间:

网友评论