- [TOOL]ui快速转python.bat
echo 拖放目标脚本文件到本脚本图标上 echo 修改路径为实际pyuic5.exe的绝对路径 set nn=%1 "C:UsersAutoTesterAppDataLocalProgramsPythonPython36Scriptspyuic5.exe" -o %nn:ui=py% %nn% ::pause
- 继承
from Ui_mainwindow import * from PyQt5 import QtCore, QtWidgets, uic from PyQt5.QtGui import * from PyQt5.Qt import * from PyQt5.QtCore import * from PyQt5 import QtCore, QtGui, QtWidgets