PyDocs

Custom Python Interpreters

Custom Python Interpreters

code

Utilities needed to emulate Python's interactive interpreter.
Symbols in code

c

compile_command
Compile a command and determine whether it is incomplete.

i

interact
Closely emulate the interactive Python interpreter.
InteractiveConsole
Closely emulate the behavior of the interactive Python interpreter.
InteractiveInterpreter
Base class for InteractiveConsole.