this is my key code:
class Desktop(QtWidgets.QWidget): def __init__(self): super().__init__() # init self.setWindowFlags(Qt.Window