setWindowTitle("PyQT show image") if __name__ == '__main__': app = QApplication(sys.argv) ex = window() ex.show() #將show 寫到外面
確定! 回上一頁