tubeshowcase●1,194,391 videos♡ My collection 0
← Learn to Code

Learn to Code09:09

Python PyQt5 setup a basic GUI Application! 🖥️

Bro Code ↗

From the creator

#python #pythonprogramming #pyqt5 00:00:00 intro 00:00:12 pip install PyQt5 00:00:46 imports 00:01:35 boiler-plate code 00:05:26 .setWindowTitle() 00:05:57 .setGeometry() 00:07:28 icons # PyQt5 introduction import sys from PyQt5.QtWidgets import QApplication, QMainWindow from PyQt5.QtGui import QIcon class MainWindow(QMainWindow): def __init__(self): super().__init__() self.setWindowTitle("My cool first GUI") self.setGeometry(700, 300, 500, 500) #self.setWindowIcon(QIcon("profile_pic.jpg")) def main(): app = QApplication(sys.argv) window = MainWindow() window.show() sys.exit(app.exec_()) if __name__ == "__main__": main()

Published 2024-07-23 · Watch on YouTube ↗
Availability and playback restrictions are controlled by the original channel.

Keep exploring Learn to Code