Did I find the right examples for you? yes no

All Samples(69)  |  Call(0)  |  Derive(0)  |  Import(69)

src/q/t/Qt-Python-Binding-Examples-HEAD/package_maker/py2app/with_image/setup.py   Qt-Python-Binding-Examples(Download)
        PySide = None
        try:
            import PyQt4
        except ImportError:
            exit(-1)

src/q/t/Qt-Python-Binding-Examples-HEAD/package_maker/py2app/simple/setup.py   Qt-Python-Binding-Examples(Download)
        PySide = None
        try:
            import PyQt4
        except ImportError:
            exit(-1)

src/q/u/qutip-2.2.0/qutip/__init__.py   qutip(Download)
        except:
            try:
                import PyQt4
                os.environ['QUTIP_GUI'] = "PYQT4"
                qutip.settings.qutip_gui = "PYQT4"
        # PYQT4 was requested
        try:
            import PyQt4
            os.environ['QUTIP_GUI'] = "PYQT4"
            qutip.settings.qutip_gui = "PYQT4"

src/a/n/antisocial-HEAD/ve/lib/python2.7/site-packages/IPython/external/qt.py   antisocial(Download)
        try:
            prepare_pyqt4()
            import PyQt4
            from PyQt4 import QtCore, QtGui, QtSvg
            if pyside_found:

src/t/a/taurus-3.2.0/lib/taurus/qt/qtdesigner/taurusdesigner.py   taurus(Download)
        designer_bin = os.path.join(designer_bin, "Designer.app", "Contents", "MacOS")
    elif plat in ("win32", "nt"):
        import PyQt4
        designer_bin = os.path.abspath(os.path.dirname(PyQt4.__file__))
 

src/e/l/electrum-HEAD/gui/qt/__init__.py   electrum(Download)
 
try:
    import PyQt4
except Exception:
    sys.exit("Error: Could not import PyQt4 on Linux systems, you may try 'sudo apt-get install python-qt4'")

src/e/l/electrum-HEAD/gui/qt/transaction_dialog.py   electrum(Download)
 
try:
    import PyQt4
except Exception:
    sys.exit("Error: Could not import PyQt4 on Linux systems, you may try 'sudo apt-get install python-qt4'")

src/e/l/electrum-HEAD/gui/qt/main_window.py   electrum(Download)
 
 
import PyQt4
from PyQt4.QtGui import *
from PyQt4.QtCore import *

src/s/c/scikit-image-0.9.3/skimage/viewer/qt/__init__.py   scikit-image(Download)
    except ImportError:
        try:
            import PyQt4
            qt_api = 'pyqt'
        except ImportError:

src/s/c/scikit-image-HEAD/skimage/viewer/qt/__init__.py   scikit-image(Download)
    except ImportError:
        try:
            import PyQt4
            qt_api = 'pyqt'
        except ImportError:

  1 | 2 | 3 | 4 | 5 | 6 | 7  Next