PyQt5 --> by myCODEnotein

Installation

pip install PyQt5

Installing PyQt5 Designer

pip install PyQt5Designer
# To run it , enter the below command in terminal
designer.exe
PyQt5 Designer

Importing Related stuff

import PyQt5.QtWidgets as qtw

Creating the Main Window and related stuff

Creating a class

class MainWindow(qtw.QWidget):
    def __init__(self):
        super().__init__()

        self.show() # This will show the app when we start it

Making an instance of the class and running the app

app = qtw.QApplication([])
main_window = MainWindow()

#Running the app
app.exec_()
running pyqt5 app for first time

Setting the title of the window

# Method1
# Add the below line above self.show in the MainWindow Class
self.setWindowTitle('myCODEnotein')
Setting title of pyqt5 window using method 1
# Method2
# Add the below line below the main_window instance
main_window.setWindowTitle('myCODEnotein')
Setting title of pyqt5 window using method2