因為Google Colab 不支援PyQt5,所以請使用本機環境( 參考:使用Python 虛擬環境 ) 或使用Anaconda Jupyter ... drawRect(160,50,100,100) qpainter.end() MainWindow.
確定! 回上一頁