qapplication

Why do I need "sys.argv" to start a QApplication in PyQt?

Why do I need "sys.argv" to start a QApplication in PyQt? Question: I try to understand what PyQt does. And one of the first things I didn’t, was: QApplication(sys.argv) Why do I have to give QApplication this argument? I know what sys.argv does. But in my Scripts I wouldn’t need it. Asked By: Sir2B || …

Total answers: 2