pyuic5将.ui文件转为.py文件

只能ui转py,不能反转
-o参数后是要生成的文件名

pyuic5 -o demo.py demo.ui

原文地址:https://www.cnblogs.com/milesma/p/12171924.html