I started learning PyQt from zetcode, as far as i know sys.argv reads in the parameter from coomandline and first being the name of file itself, so if sys.argv is a list then what being passed to QtGui.QApplication() in
def main():
app = QtGui.QApplication(sys.argv)
ex = Example()
sys.exit(app.exec_())