See All Titles |
![]() ![]() codeThe code module interprets base classes, supporting operations that pertain to Python code objects. In other words, it can simulate the standard interpreter's interactive mode. The next code opens a new interpreter within your interpreter: >>> import code >>> interpreter = code.InteractiveConsole() >>> interpreter.interact()
|
Index terms contained in this sectionlibrariesPython Services Python Services |
© 2002, O'Reilly & Associates, Inc. |