python pyqt5 image code example Example: pyqt5 image label = QLabel(self) pixmap = QPixmap('image.jpeg') label.setPixmap(pixmap)