user1561108 user1561108 - 11 months ago 98
Python Question

How to load an existing ipython notebook?

I'm missing something really obvious here but I want to load an existing .ipynb file in my own ipython session. I've tried the following:

$ 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's deepdream notebook) but the json syntax isn't good? I am using the ipython from Anaconda 2.3.0, python 3.4.0 and ipython qtconsole 3.2.0.


You must start ipython notebook, otherwise ipython tries to execute dream.ipynb as though it were a file containing Python code:

ipython notebook dream.ipynb