IPython notebook with Plone

IPython notebook is a browser based python shell with lots of nice features. Almost every presentation at Pycon.ie featured it in some way or other. If you’re a fan of using IPython with plone, you may find notebook interesting too.

It’s easy to get it working via buildout, just add an extra argument to the initialization:

recipe = zc.recipe.egg
eggs = 
initialization =
    import sys, os
    os.environ["INSTANCE_HOME"] = "${instance:location}"
    sys.argv[1:1] = "notebook --profile zope2".split()
scripts = ipython=ipzopenb