Successfully reported this slideshow.
Your SlideShare is downloading. ×

Ipython notebook

Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Upcoming SlideShare
Spring Boot
Spring Boot
Loading in …3
×

Check these out next

1 of 15 Ad
Advertisement

More Related Content

Advertisement
Advertisement

Ipython notebook

  1. 1. Diving into IPython notebook ! dongweiming 2015-01-05
  2. 2. Outline 1. ⾖豆瓣东⻄西双11临时后台 2. ipynb -> html (nbconvert/with tpl) 3. nbconvert原理 & ipynb-viewer 4. ⽤用ipynb写blog(pelican/nikola) 5. third-party libraries & components 6. nbextensions & custom nb-extensions 7. emacs keymap & custom shortcuts 8. a custom widget with selectize.js
  3. 3. 1. 不需要建表, 不⽤用学web开发, 不⽤用⾃自⼰己写MVC 2. 开发迭代很快 3. 安全性好 -> https/mkpasswd 4. 禁掉危险的magic/内置函数/模块⽅方法 5. 在线debug 为什么⽤用ipython做临时后台
  4. 4. 把ipynb转换成html ipython nbconvert --to html double11.ipynb ! —profile=double11! ! ipython nbconvert double11.ipynb ! --template double11.tpl!
  5. 5. nbconver原理 ! -nbconvert.ipynb ! https://github.com/dongweiming/Ipynb-viewer !
  6. 6. ⽤用ipynb写博客(pelican/nikola) http://dongweiming.github.io/divingintoipynb_pelican/ ! http://dongweiming.github.io/divingintoipynb_nikola/
  7. 7. 7 Rich display system
  8. 8. third-party libraries tornado jinja2 pygments
  9. 9. javascript components backbone requireJS marked mistune codemirror bootstrap tour term.js
  10. 10. 已有的notebook extensions drag-and-drop chrome_clipboard(command+c/x/v) comment-uncomment(alt+c) runtools(alt+x/t/r/a/b) rubberband(shift+left) ! IPython-notebook-extensions
  11. 11. custom nb-extensions toggle_full_textarea
  12. 12. emacs keymap & custom shortcuts
  13. 13. a custom widget with selectize.js SelectizeWidget
  14. 14. 1. iruby! 2. bipython! 2. Importing IPython Notebooks as Modules! 3. base16-ipython-notebook 其它
  15. 15. Q & A https://github.com/dongweiming/divingintoipynb

×