environment/lib/python2.7/site-packages/IPython/lib/guisupport.py
def get_app_qt4(*args, **kwargs):
    """Create a new qt4 app or return an existing one."""
    from IPython.external.qt_for_kernel import QtGui
    app = QtGui.QApplication.instance()
    if app is None:
        if not args:
            args = ([''],)
        app = QtGui.QApplication(*args, **kwargs)
    return app
def get_app_qt4(*args, **kwargs):
    from IPython.external.qt_for_kernel import QtGui
    app = QtGui.QApplication.instance()
    if app is None:
        if not args:
            args = ([''],)
        app = QtGui.QApplication(*args, **kwargs)
    return app
def get_app_qt4 ( * args , * * kwargs ) : from IPython . external . qt_for_kernel import QtGui app = QtGui . QApplication . instance ( ) if app is None : if not args : args = ( [ '' ] , ) app = QtGui . QApplication ( * args , * * kwargs ) return app
Create a new qt4 app or return an existing one.
Create a new qt4 app or return an existing one .