zsh2270365028的个人博客分享 http://blog.sciencenet.cn/u/zsh2270365028

博文

Python jupyter notebook install Extensions-可以给出每行代码的运行时间

已有 2539 次阅读 2019-5-22 18:20 |个人分类:Python|系统分类:科研笔记

refer to:

https://jupyter-contrib-nbextensions.readthedocs.io/en/latest/install.html#install-the-python-package

(在此感谢蓉蓉同学

仅需两条命令即可:

1.

conda install -c conda-forge jupyter_contrib_nbextensions

conda1.pngconda2.png

2.

jupyter nbextension enable codefolding/main

conda3.png


3. 重启jupyter notebook,左上角会出现Nbextensions,在里面的Execute Time 框框里打勾即可。

coda4.png

conda4.png




https://blog.sciencenet.cn/blog-587102-1180534.html

上一篇:[转载]ubuntu18.04 install fv
下一篇:[转载]MCMC(一)蒙特卡罗方法
收藏 IP: 119.78.226.*| 热度|

0

该博文允许注册用户评论 请点击登录 评论 (0 个评论)

数据加载中...

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-5-11 03:10

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部