import sys
from PyQt4 import QtGui

app = QtGui.QApplication(sys.argv)

window = QtGui.QMainWindow()
window.setGeometry(100, 100, 500, 300)
window.setWindowTitle("PyQT Tuts!")
window.show()

sys.exit(app.exec_())
9f9acb6a212b74eec539bb0d739071f72673ccfe
<mask token>

<mask token>
window.setGeometry(100, 100, 500, 300)
window.setWindowTitle('PyQT Tuts!')
window.show()
sys.exit(app.exec_())

<mask token>
app = QtGui.QApplication(sys.argv)
window = QtGui.QMainWindow()
window.setGeometry(100, 100, 500, 300)
window.setWindowTitle('PyQT Tuts!')
window.show()
sys.exit(app.exec_())

import sys
from PyQt4 import QtGui
app = QtGui.QApplication(sys.argv)
window = QtGui.QMainWindow()
window.setGeometry(100, 100, 500, 300)
window.setWindowTitle('PyQT Tuts!')
window.show()
sys.exit(app.exec_())

import sys
from PyQt4 import QtGui

app = QtGui.QApplication(sys.argv)

window = QtGui.QMainWindow()
window.setGeometry(100, 100, 500, 300)
window.setWindowTitle("PyQT Tuts!")
window.show()

sys.exit(app.exec_())