()
Launch an interactive python shell.
Launch an interactive python shell.
Launch an interactive python shell .
def InteractiveConsole():
  """Launch an interactive python shell."""
  # pylint: disable=g-import-not-at-top,unused-variable
  import code
  import readline
  # pylint: enable=g-import-not-at-top,unused-variable
  console = code.InteractiveConsole(dict(globals(), **locals()))
  console.interact('Interactive shell for %s' %
                   os.path.basename(sys.argv[0]))
def InteractiveConsole ( ) : # pylint: disable=g-import-not-at-top,unused-variable import code import readline # pylint: enable=g-import-not-at-top,unused-variable console = code . InteractiveConsole ( dict ( globals ( ) , * * locals ( ) ) ) console . interact ( 'Interactive shell for %s' % os . path . basename ( sys . argv [ 0 ] ) )