$ sudo port install py27-ipython
$ alias ipython='ipython-2.7'
Python 2.7.1 (r271:86832, May 18 2011, 11:05:32)
Type "copyright", "credits" or "license" for more information.
IPython 0.10.1 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object'. ?object also works, ?? prints more.
In : exit()
Do you really want to exit ([y]/n)? y