Python Tutorial : Installing IPython (Ubuntu)

Hello Guys, Code 2 Learn starts off its Python Tutorial. Like Java, C++, C etc, Python is also a Programming Language. Python is a general-purpose, high-level programming language whose design philosophy emphasizes code readability.

IPython provides a rich toolkit to help you make the most out of using Python interactively. Its main components are:

  1. Powerful Python shells (terminal- and Qt-based).
  2. Support for interactive data visualization and use of GUI toolkits.
  3. Flexible, embeddable interpreters to load into your own projects.
  4. Tools for high level and interactive parallel computing.

Installing IPython  :


IPython can be used as a replacement for the standard Python shell, or it can be used as a complete working environment for scientific computing (like Matlab or Mathematica) when paired with the standard Python scientific and numerical tools. It supports dynamic object introspections, numbered input/output prompts, a macro system, session logging, session restoring, complete system shell access, verbose and colored traceback reports, auto-parentheses, auto-quoting, and is embeddable in other Python programs.To install this package in Ubuntu.

$ sudo apt-get install ipython

After the installation is successful, let install Pylab which will help us to give the MATLAB like properties in Python.

To install Pylab, write the following :

$ sudo apt-get install python-matplotlib

After the installation gets completed, type in : ipython -pylab

You will get a screen like below :

For Installing on Windows :