如何加载现有的ipython笔记本?

我在这里遗漏了一些非常明显的东西,但是我想在自己的ipython会话中加载现有的.ipynb文件.我尝试过以下操作:

$ipython dream.ipynb 
---------------------------------------------------------------------------
NameError                                 Traceback (most recent call last)
/home/me/develop/deepdream/dream.ipynb in <module>()
     33     {
     34      "cell_type": "code",
---> 35      "collapsed": false,
     36      "input": [
     37       "# imports and basic notebook setup\n",

NameError: name 'false' is not defined

(Google的deepdream笔记本)但json语法不好?我正在使用Anaconda 2.3.0,python 3.4.0和ipython qtconsole 3.2.0中的ipython.

你必须是start ipython notebook,否则ipython尝试执行dream.ipynb,就好像它是一个包含Python代码的文件:

ipython notebook dream.ipynb 
http://stackoverflow.com/questions/31292739/how-to-load-an-existing-ipython-notebook

本站文章除注明转载外,均为本站原创或编译
转载请明显位置注明出处:如何加载现有的ipython笔记本?