next up previous
: Installation : IPython An enhanced Interactive : IPython An enhanced Interactive


Overview

One of Python's most useful features is its interactive interpreter. This system allows very fast testing of ideas without the overhead of creating test files as is typical in most programming languages. However, the interpreter supplied with the standard Python distribution is somewhat limited for extended interactive use.

IPython is a free software project (released under the GNU LGPL1) which tries to:

  1. Provide an interactive shell superior to Python's default. IPython has many features for object introspection, system shell access, and its own special command system for adding functionality when working interactively. It tries to be a very efficient environment both for Python code development and for exploration of problems using Python objects (in situations like data analysis).
  2. Serve as an embeddable, ready to use interpreter for your own programs. IPython can be started with a single call from inside another program, providing access to the current namespace. This can be very useful both for debugging purposes and for situations where a blend of batch-processing and interactive exploration are needed.
  3. Offer a flexible framework which can be used as the base environment for other systems with Python as the underlying language. Specifically scientific environments like Mathematica, IDL and Matlab inspired its design, but similar ideas can be useful in many fields.

Main features

Portability and Python requirements

Developed under Linux, IPython should work under most unices (tested OK under Solaris and the *BSD family, for which a port exists thanks to Dryice Liu).

Mac OS X: it works, apparently without any problems (thanks to Jim Boyle at Lawrence Livermore for the information). Thanks to Andrea Riciputi, Fink support is available.

CygWin: it works mostly OK, though some users have reported problems with prompt coloring. No satisfactory solution to this has been found so far, you may want to disable colors permanently in the ipythonrc configuration file if you experience problems. If you have proper color support under cygwin, please post to the IPython mailing list so this issue can be resolved for all users.

Windows: it works well under Windows XP/2k, and I suspect NT should behave similarly. Section 2.3 describes installation details for Windows, including some additional tools needed on this platform.

Windows 9x support has been added but has seen very little testing, as I don't have access to a machine with that operating system.

Please note, however, that I have very little access to and experience with Windows development. For this reason, Windows-specific bugs tend to linger far longer than I would like, and often I just can't find a satisfactory solution. If any Windows user wants to join in with development help, all hands are always welcome.

MacOS Classic: it may work (I have no idea), and if not it should be reasonably easy to port it. But someone else will have to do that, since I have no access to a Macintosh.

IPython requires Python version 2.2 or newer. As of version 0.6.0, it works correctly with Python 2.3 (earlier versions had some issues with Python 2.3). Support for Python 2.1 hasn't been recently tested, since I don't have access to it on any of my systems. But I suspect there may be some problems with Python 2.1, because some of the newer code may use 2.2 features.

Location

IPython is generously hosted at http://ipython.scipy.org by the SciPy project. This site offers downloads, CVS access, mailing lists and a bug tracking system. I am very grateful to Enthought (http://www.enthought.com) and all of the SciPy team for their contribution.


next up previous
: Installation : IPython An enhanced Interactive : IPython An enhanced Interactive
Fernando Perez 平成16年8月30日