#!/usr/bin/env python import sys import PySide app = QtGui.QApplication(sys.argv) hello = QtGui.QLabel("hello Qt") hello.show() x, y, w, h = 100, 100, 100, 100 hello.setGeometry(x, y, w, h) sys.exit(app.exec_())