コード例 #1
0
ファイル: interactiveshell.py プロジェクト: epatters/ipython
    def enable_gui(gui=None, app=None):
        """Switch amongst GUI input hooks by name.
        """
        # Deferred import
        from IPython.lib.inputhook import enable_gui as real_enable_gui

        return real_enable_gui(gui, app)
コード例 #2
0
 def enable_gui(gui=None, app=None):
     """Switch amongst GUI input hooks by name.
     """
     # Deferred import
     from IPython.lib.inputhook import enable_gui as real_enable_gui
     try:
         return real_enable_gui(gui, app)
     except ValueError as e:
         raise UsageError("%s" % e)
コード例 #3
0
ファイル: interactiveshell.py プロジェクト: AlfiyaZi/ipython
 def enable_gui(gui=None, app=None):
     """Switch amongst GUI input hooks by name.
     """
     # Deferred import
     from IPython.lib.inputhook import enable_gui as real_enable_gui
     try:
         return real_enable_gui(gui, app)
     except ValueError as e:
         raise UsageError("%s" % e)
コード例 #4
0
ファイル: interactiveshell.py プロジェクト: yumei165/ipython
 def enable_gui(gui=None, app=None):
     """Switch amongst GUI input hooks by name.
     """
     # Deferred import
     from IPython.lib.inputhook import enable_gui as real_enable_gui
     return real_enable_gui(gui, app)