Create an IPython instance. Does not start a blocking event loop,
instead allow single iterations. This allows embedding in GTK+
without blockage
@ivar IP: IPython instance.
@type IP: IPython.iplib.InteractiveShell
@ivar iter_more: Indicates if the line executed was a complete command,
or we should wait for more.
@type iter_more: integer
@ivar history_level: The place in history where we currently are
when pressing up/down.
@type history_level: integer
@ivar complete_sep: Seperation delimeters for completion function.
@type complete_sep: _sre.SRE_Pattern
|
|
__init__(self,
argv=[],
user_ns=None,
user_global_ns=None,
cin=None,
cout=None,
cerr=None,
input_func=None)
@param argv: Command line options for IPython
@type argv: list
@param user_ns: User namespace. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
complete(self,
line)
Returns an auto completed line and/or posibilities for completion |
source code
|
|
|
|
shell(self,
cmd,
verbose=0,
debug=0,
header='')
Replacement method to allow shell commands without them blocking |
source code
|
|