How to convert a .ui file to .py file
问题 This .ui file is made by Qt Designer. It's just a simple UI. All the commands or codes for doing this on the websites I have looked through are not for windows. 回答1: The pyuic tool works in exactly the same way on all platforms: C:\>pyuic4 -h Usage: pyuic4 [options] <ui-file> Options: --version show program's version number and exit -h, --help show this help message and exit -p, --preview show a preview of the UI instead of generating code -o FILE, --output=FILE write generated code to FILE