def ShowInteractiveWindow():
 if (edit is None):
  CreateInteractiveWindow()
 elif edit.NeedRecreateWindow():
  edit.RecreateWindow()
 else:
  parent = edit.currentView.GetParentFrame()
  if (parent == win32ui.GetMainFrame()):
   edit.currentView.SetFocus()
  else:
   edit.currentView.GetParentFrame().AutoRestore()
   win32ui.GetMainFrame().MDIActivate(edit.currentView.GetParentFrame())

def ShowInteractiveWindow ( ) : if ( edit is None ) : CreateInteractiveWindow ( ) elif edit . NeedRecreateWindow ( ) : edit . RecreateWindow ( ) else : parent = edit . currentView . GetParentFrame ( ) if ( parent == win32ui . GetMainFrame ( ) ) : edit . currentView . SetFocus ( ) else : edit . currentView . GetParentFrame ( ) . AutoRestore ( ) win32ui . GetMainFrame ( ) . MDIActivate ( edit . currentView . GetParentFrame ( ) )
shows an interactive window .