To set window title in Python PyQt5 you must have first created a window for your application.
Source code viewer
#from PyQt5.QtWidgets import QMainWindow window = QMainWindow() window.setWindowTitle('PictureWorkshop');Programming Language: Python