This tutorials shows how you can use Qt for Python – still often (mostly) referred as PySide2 – to build a desktop app with Python 3. This tutorial is based on PyQt5 tutorial: Learn how you can create ...
You will always need to ensure that a QApplication object exists, otherwise your Python script will terminate with an error if you try and use any other Qt objects ...