Show More
@@ -67,11 +67,9 b' interactive_usage = """' | |||
|
67 | 67 | IPython -- An enhanced Interactive Python |
|
68 | 68 | ========================================= |
|
69 | 69 | |
|
70 | IPython offers a combination of convenient shell features, special commands | |
|
71 | and a history mechanism for both input (command history) and output (results | |
|
72 | caching, similar to Mathematica). It is intended to be a fully compatible | |
|
73 | replacement for the standard Python interpreter, while offering vastly | |
|
74 | improved functionality and flexibility. | |
|
70 | IPython offers fully compatible replacement for the standard Python | |
|
71 | interpreter with convenient shell features, special commands, command | |
|
72 | history mechanism and output results caching. | |
|
75 | 73 | |
|
76 | 74 | At your system command line, type 'ipython -h' to see the command line |
|
77 | 75 | options available. This document only describes interactive features. |
@@ -93,9 +91,8 b' If you are in terminal IPython you can quit this screen by pressing `q`.' | |||
|
93 | 91 | MAIN FEATURES |
|
94 | 92 | ------------- |
|
95 | 93 | |
|
96 |
* Access to the standard Python help |
|
|
97 | available with access to object docstrings and the Python manuals. Simply | |
|
98 | type 'help' (no quotes) to access it. | |
|
94 | * Access to the standard Python help with object docstrings and the Python | |
|
95 | manuals. Simply type 'help' (no quotes) to invoke it. | |
|
99 | 96 | |
|
100 | 97 | * Magic commands: type %magic for information on the magic subsystem. |
|
101 | 98 | |
@@ -103,13 +100,12 b' MAIN FEATURES' | |||
|
103 | 100 | |
|
104 | 101 | * Dynamic object information: |
|
105 | 102 | |
|
106 |
Typing ?word or word? prints detailed information about an object. |
|
|
107 | certain strings in the object are too long (docstrings, code, etc.) they get | |
|
108 | snipped in the center for brevity. | |
|
103 | Typing ?word or word? prints detailed information about an object. Long | |
|
104 | strings (docstrings, code, etc.) get snipped in the center for brevity. | |
|
109 | 105 | |
|
110 | 106 | Typing ??word or word?? gives access to the full information without |
|
111 |
snipping long strings. |
|
|
112 | pager if longer than the screen, printed otherwise. | |
|
107 | snipping long strings. Strings that are longer than the screen are printed | |
|
108 | through the less pager. | |
|
113 | 109 | |
|
114 | 110 | The ?/?? system gives access to the full source code for any object (if |
|
115 | 111 | available), shows function prototypes and other useful information. |
@@ -117,18 +113,17 b' MAIN FEATURES' | |||
|
117 | 113 | If you just want to see an object's docstring, type '%pdoc object' (without |
|
118 | 114 | quotes, and without % if you have automagic on). |
|
119 | 115 | |
|
120 |
* |
|
|
116 | * Tab completion in the local namespace: | |
|
121 | 117 | |
|
122 | 118 | At any time, hitting tab will complete any available python commands or |
|
123 | 119 | variable names, and show you a list of the possible completions if there's |
|
124 | 120 | no unambiguous one. It will also complete filenames in the current directory. |
|
125 | 121 | |
|
126 |
* Search previous command history in |
|
|
122 | * Search previous command history in multiple ways: | |
|
127 | 123 | |
|
128 |
- Start typing, and then use Ctrl-p (previous, up) and Ctrl-n (next,down) |
|
|
129 |
search through |
|
|
130 | far. If you use Ctrl-p/Ctrl-n at a blank prompt, they just behave like | |
|
131 | normal arrow keys. | |
|
124 | - Start typing, and then use Ctrl-p (previous, up) and Ctrl-n (next, down) | |
|
125 | to search through the history items that match what you've typed so | |
|
126 | far. At a blank prompt, Ctrl-p/Ctrl-n behave like normal arrow keys. | |
|
132 | 127 | |
|
133 | 128 | - Hit Ctrl-r: opens a search prompt. Begin typing and the system searches |
|
134 | 129 | your history for lines that match what you've typed so far, completing as |
@@ -140,7 +135,7 b' MAIN FEATURES' | |||
|
140 | 135 | |
|
141 | 136 | * Logging of input with the ability to save and restore a working session. |
|
142 | 137 | |
|
143 |
* System |
|
|
138 | * System shell with !. Typing !ls will run 'ls' in the current directory. | |
|
144 | 139 | |
|
145 | 140 | * The reload command does a 'deep' reload of a module: changes made to the |
|
146 | 141 | module since you imported will actually be available without having to exit. |
General Comments 0
You need to be logged in to leave comments.
Login now