PyDocs

Nav

Custom Python Interpreters

InteractiveInterpreter.runcode

  • InteractiveInterpreter.runcode(code)
Execute a code object.

When an exception occurs, self.showtraceback() is called to
display a traceback.  All exceptions are caught except
SystemExit, which is reraised.

A note about KeyboardInterrupt: this exception may occur
elsewhere in this code, and may not always be caught.  The
caller should be prepared to deal with it.
0 Examples
No examples for code/InteractiveInterpreter.runcode.
See Also
No see-alsos for code/InteractiveInterpreter.runcode
0 Notes
No notes for InteractiveInterpreter.runcode