File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -218,15 +218,18 @@ be present::
218
218
Cmd.__init__(self, use_ipython=True)
219
219
220
220
The ``ipy `` command enters an interactive IPython _ session. Similar to an
221
- interactive Python session, this shell can access your application instance via ``self ``.
222
- However, the ``ipy `` shell cannot call "back" to your application with ``cmd("") `` and
223
- any changes made will not persist between sessions or back in the main application.
221
+ interactive Python session, this shell can access your application instance via ``self `` and any changes
222
+ to your application made via ``self `` will persist.
223
+ However, any local or global variable created within the ``ipy `` shell will not persist.
224
+ Within the ``ipy `` shell, you cannot call "back" to your application with ``cmd("") ``, however you can run commands
225
+ directly like so::
226
+
227
+ self.onecmd_plus_hooks('help')
224
228
225
229
IPython _ provides many advantages, including:
226
230
227
231
* Comprehensive object introspection
228
- * Input history, persistent across sessions
229
- * Caching of output results during a session with automatically generated references
232
+ * Get help on objects with ``? ``
230
233
* Extensible tab completion, with support by default for completion of python variables and keywords
231
234
232
235
The object introspection and tab completion make IPython particularly efficient for debugging as well as for interactive
You can’t perform that action at this time.
0 commit comments