Internal Console¶
The Internal Console is dedicated to Spyder internal debugging or may be used as an embedded Python console in your own application. All the commands entered in the internal console are executed in the same process as Spyder’s, but the Internal Console may be executed in a separate thread (this is optional and for example this is not the case in Spyder itself).
The internal console support the following features:
- Code completion and calltips
- User Module Deleter (as in Console)
Special commands¶
The following special commands are supported by the interactive console.
Edit script
edit foobar.pywill openfoobar.pywith Spyder’s editor.xedit foobar.pywill openfoobar.pywith the external editor.Execute script
run foobar.pywill executefoobar.pyin interactive console.Remove references
clear x, ywill remove references namedxandy.Shell commands
!cmdwill execute system commandcmd(example!lson Linux or!diron Windows).Python help
object?will showobject‘s help in documentation viewer.GUI-based editor
oedit(object)will open an appropriate GUI-based editor to modify objectobjectand will return the result.