PySide (Qt4) Sample Code
PySide-Qt4 (Python2) - https://dcjtech.info/wp-content/uploads/2014/10/PyQt4_py2.txt
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import sys
from PySide.QtGui import *
a = QApplication(sys.argv)
w = QWidget()
w.resize(320, 240)
w.setWindowTitle("Hello, World!")
w.show()
sys.exit(a.exec_())
PyQt4 Sample Code
PyQt4 (Python2) - https://dcjtech.info/wp-content/uploads/2014/10/PySide_Qt4_py2.txt
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import sys
from PyQt4.QtGui import *
a = QApplication(sys.argv)
w = QWidget()
w.resize(320, 240)
w.setWindowTitle("Hello, World!")
w.show()
sys.exit(a.exec_())