Show More
@@ -8,7 +8,7 b' Overview' | |||||
8 | ======== |
|
8 | ======== | |
9 |
|
9 | |||
10 | One of Python's most useful features is its interactive interpreter. |
|
10 | One of Python's most useful features is its interactive interpreter. | |
11 |
|
|
11 | It allows for very fast testing of ideas without the overhead of | |
12 | creating test files as is typical in most programming languages. |
|
12 | creating test files as is typical in most programming languages. | |
13 | However, the interpreter supplied with the standard Python distribution |
|
13 | However, the interpreter supplied with the standard Python distribution | |
14 | is somewhat limited for extended interactive use. |
|
14 | is somewhat limited for extended interactive use. | |
@@ -32,29 +32,28 b" IPython's interactive shell (:command:`ipython`), has the following goals," | |||||
32 | amongst others: |
|
32 | amongst others: | |
33 |
|
33 | |||
34 | 1. Provide an interactive shell superior to Python's default. IPython |
|
34 | 1. Provide an interactive shell superior to Python's default. IPython | |
35 |
has many features for object introspection, system shell |
|
35 | has many features for tab-completion, object introspection, system shell | |
36 | and its own special command system for adding functionality when |
|
36 | access, command history retrieval across sessions, and its own special | |
37 | working interactively. It tries to be a very efficient environment |
|
37 | command system for adding functionality when working interactively. It | |
38 | both for Python code development and for exploration of problems |
|
38 | tries to be a very efficient environment both for Python code development | |
39 |
using Python objects (in situations like |
|
39 | and for exploration of problems using Python objects (in situations like | |
|
40 | data analysis). | |||
40 |
|
41 | |||
41 | 2. Serve as an embeddable, ready to use interpreter for your own |
|
42 | 2. Serve as an embeddable, ready to use interpreter for your own | |
42 |
programs. IPython can be started with a single call |
|
43 | programs. An interactive IPython shell can be started with a single call | |
43 |
another program, providing access to the current namespace. |
|
44 | from inside another program, providing access to the current namespace. | |
44 | can be very useful both for debugging purposes and for situations |
|
45 | This can be very useful both for debugging purposes and for situations | |
45 | where a blend of batch-processing and interactive exploration are |
|
46 | where a blend of batch-processing and interactive exploration are needed. | |
46 | needed. New in the 0.9 version of IPython is a reusable wxPython |
|
|||
47 | based IPython widget. |
|
|||
48 |
|
47 | |||
49 | 3. Offer a flexible framework which can be used as the base |
|
48 | 3. Offer a flexible framework which can be used as the base | |
50 | environment for other systems with Python as the underlying |
|
49 | environment for working with other systems, with Python as the underlying | |
51 | language. Specifically scientific environments like Mathematica, |
|
50 | bridge language. Specifically scientific environments like Mathematica, | |
52 | IDL and Matlab inspired its design, but similar ideas can be |
|
51 | IDL and Matlab inspired its design, but similar ideas can be | |
53 | useful in many fields. |
|
52 | useful in many fields. | |
54 |
|
53 | |||
55 | 4. Allow interactive testing of threaded graphical toolkits. IPython |
|
54 | 4. Allow interactive testing of threaded graphical toolkits. IPython | |
56 | has support for interactive, non-blocking control of GTK, Qt and |
|
55 | has support for interactive, non-blocking control of GTK, Qt, WX, GLUT, and | |
57 |
|
|
56 | OS X applications via special threading flags. The normal Python | |
58 | shell can only do this for Tkinter applications. |
|
57 | shell can only do this for Tkinter applications. | |
59 |
|
58 | |||
60 | Main features of the interactive shell |
|
59 | Main features of the interactive shell |
General Comments 0
You need to be logged in to leave comments.
Login now