Until recently I had never been a fan of IPython but with their HTML notebook they’ve finally won me over. What I like about this tool is that it makes it easy to go back and forth between interactive prototyping and a script. Being able to continuously edit and re-run code in an interactive session is a powerful tool.
brew install zeromq pip install pyzmq pip install tornado pip install ipython
from IPython.external.mathjax import install_mathjax install_mathjax()
To launch the notebook from whatever directory you want to work in:
This will launch the IPython notebook dashboard in your default browser, from which you can make new notebooks or resume working on existing ones.
See the docs for all you can do with the notebook, and enjoy!