import sys
from PyQt4 import QtGui
app = QtGui.QApplication(sys.argv)
window = QtGui.QWidget()
window.setGeometry(0, 0, 500, 300)
window.setWindowTitle("PyQT Tuts!")
window.show()
выдает
Got bus address: "unix:abstract=/tmp/dbus-9GTnpLdtBg,guid=154f6fc3fb26131ee4912b1d57dc0e4e"
Connected to accessibility bus at: "unix:abstract=/tmp/dbus-9GTnpLdtBg,guid=154f6fc3fb26131ee4912b1d57dc0e4e"
Registered DEC: true
import sys
from PyQt4.QtGui import *
app = QApplication(sys.argv)
window = QWidget()
window.resize(320,240)
window.setWindowTitle("PyQT Tuts!")
window.show()
sys.exit(app.exec_())