Random Geekery

IPython

Added by to Coolnamehere on

Tags · python ·

Python 2.x Babysteps Python 2 Babysteps 01 Installing Python 2

$ sudo apt-get install ipython



$ sudo port install py27-ipython
$ alias ipython='ipython-2.7'
$ ipython
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 [1]: exit()
Do you really want to exit ([y]/n)? y
Python 2.x Babysteps Python 2 Babysteps 01 Installing Python 2
comments powered by Disqus