luw2007

IPython Notebook 分享代码 is cool http://nbviewer.ipython.org

  •  
  •   luw2007 · Jan 15, 2015 · 4080 views
    This topic created in 4135 days ago, the information mentioned may be changed or developed.
    IPython Notebook写完之后, 分享很困难.
    然后现在只要通过保存 到gist 上, 然后通过http://nbviewer.ipython.org/<gist number> 分享, 就可以把本地创建的ipython 分享到网上, 不需要搭建ipython notebook , 不需要公网ip. 对方只需要浏览器访问.

    具体步骤:
    本地编写ipython notebook , 点击`File`->`Download as` -> `IPython Notebook (.ipynb)`
    打开保存的文件.将内容发布到 https://gist.github.com 中. 发布成功后, 查看浏览器的地址栏, 拿到`git number`
    在新标签页中打开 http://nbviewer.ipython.org/<gist number>, 就可以看到整齐的IPython Notebook 页面了.

    例如 :
    https://gist. github.com/luw2007/2dbc60ce26507ad74606
    得到 git number -> 2dbc60ce26507ad74606
    得到地址 -> http://nbviewer.ipython.org/2dbc60ce26507ad74606
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5749 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 01:44 · PVG 09:44 · LAX 18:44 · JFK 21:44
    ♥ Do have faith in what you're doing.