class codeop.Compile Instances of this class have __call__() methods identical in signature to the built-in function
InteractiveConsole.resetbuffer() Remove any unhandled source text from the input buffer.
code.interact(banner=None, readfunc=None, local=None) Convenience function to run a read-eval-print loop. This creates a new
class codeop.CommandCompiler Instances of this class have __call__() methods identical in signature to c
class code.InteractiveConsole(locals=None, filename="") Closely emulate the behavior of the interactive Python interpreter.
InteractiveConsole.interact(banner=None) Closely emulate the interactive Python console. The optional banner argument
Page 2 of 2