QLabel 在 PyQt5 中,QLabel 部件提供文本或图像显示: # -*- coding: utf-8 -*- """ Created on Fri May 8 21:52:56 2020 @author: Giyn """ import sys from PyQt5.QtWidgets import QApplication, QLabel if __name__ == "__main__": app = QApplication(sys.argv)