B reference station up the main headwind smiling dog code of video
https://www.bilibili.com/video/BV1i4411g75A?p=7
In this video you can find up in the main series
from PyQt5.Qt import * import sys App = QApplication (sys.argv) # create a program object window = QWidget () # blank window window.setWindowTitle ( " the Hello World " ) # title window.resize (500, 500) # window size window.move (200, 200) # window location # Operation a tag label = the QLabel (window) label.setText("Hello World") label.move(200,200) window.show () # Displays the window sys.exit (app.exec_ ()) # safety exit window (to ensure that the program does not exit)