Ignore:
Timestamp:
07/11/10 11:59:28 (11 years ago)
Author:
sc
Message:
  • PySide? import attempted before PyQt4 where available
  • problem specifying port when calling socket.listen on QTcpServer
File:
1 edited

Legend:

Unmodified
Added
Removed
  • remote_control/puzzlebox_brainstorms_network_client.py

    r109 r111  
    1616import signal 
    1717 
    18 from PyQt4 import QtCore, QtGui, QtNetwork 
     18try: 
     19        import PySide as PyQt4 
     20        from PySide import QtCore, QtGui, QtNetwork 
     21except: 
     22        print "Using PyQt4 module" 
     23        from PyQt4 import QtCore, QtGui, QtNetwork 
     24else: 
     25        print "Using PySide module" 
     26 
     27#from PyQt4 import QtCore, QtGui, QtNetwork 
    1928 
    2029import simplejson as json 
Note: See TracChangeset for help on using the changeset viewer.