code.InteractiveConsole.interact()

InteractiveConsole.interact(banner=None)

Closely emulate the interactive Python console. The optional banner argument specify the banner to print before the first interaction; by default it prints a banner similar to the one printed by the standard Python interpreter, followed by the class name of the console object in parentheses (so as not to confuse this with the real interpreter – since it’s so close!).

Changed in version 3.4: To suppress printing any banner, pass an empty string.

doc_python
2016-10-07 17:28:35
Comments
Leave a Comment

Please login to continue.