read -p "请输入UI文件名_" ui_name
echo "ui 文件名是: " "$ui_name"
read -p "请输入PY文件名" py_name
echo "py 文件名是:" "$py_name"
echo "开始处理..."
cd /Users/admin/QTproject
pyuic5 -o "$py_name".py "$ui_name".ui
echo "处理完成"
shell脚本将pyqt5的ui文件转为py文件
最新推荐文章于 2024-02-23 11:00:20 发布