Did I find the right examples for you? yes no

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

src/r/a/Radeon-tray-HEAD/setup.py   Radeon-tray(Download)
def main():
    r_pyqt = False
    r_zmq = False
    try:
        import PyQt4

src/l/i/linkchecker-HEAD/tests/__init__.py   linkchecker(Download)
def has_pyqt ():
    """Test if PyQT is installed."""
    try:
        import PyQt4
        return True

src/i/n/inasafe-HEAD/realtime/test/test_shake_event.py   inasafe(Download)
import ogr
#noinspection PyPackageRequirements
import PyQt4
 
# pylint: disable=E0611

src/e/t/ete-HEAD/test/test_evol.py   ete(Download)
        M2a = tree.get_evol_model('M2.a')
        try:
            import PyQt4
        except ImportError:
            pass

src/p/y/PySide-1.2.2/sources/pyside/tests/util/pyqtcheck.py   PySide(Download)
from optparse import OptionParser
 
import PyQt4
from PyQt4 import QtCore, QtGui, QtNetwork
 

src/l/i/LinkChecker-9.2/tests/__init__.py   LinkChecker(Download)
def has_pyqt ():
    """Test if PyQT is installed."""
    try:
        import PyQt4
        return True

src/e/t/ete2-2.2rev1056/test/test_evol.py   ete2(Download)
        M2a = tree.get_evol_model('M2.a')
        try:
            import PyQt4
        except ImportError:
            pass

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