Saturday, April 6, 2013

Shortcut to open an iPython notebook and web browser from the terminal

In order to start an iPython notebook server and open a notebook in your browser you can issue the command


>>> ipython notebook --pylab inline

Sometimes, mysteriously, the web browser will not automatically open after issue the above command on Mac OS X. In that case, you can use the command



>>> ipython notebook --pylab inline && open http://127.0.0.1:8888/'

No comments:

Post a Comment