from PyQt4.QtGui import QApplication
from PyQt4.QtGui import QWidget
import PyQt4.pyqtconfig

class MyWindow(QWidget):
    def __init__(self):
        super(QWidget, self).__init__()

        self.move(0,0)
        print self.geometry()
        self.setGeometry(self.geometry())
        print self.geometry()

app = QApplication([])
w = MyWindow()
w.show()
app.exec_()
