Pyqt6 example. import sys from PyQt6.