Mostly a reminder post to myself. To use pyuic4 to convert a Qt .ui file to .py, first open a command prompt in PythonDir\Lib\site-packages\PyQt4. The command to generate a .py file is pyuic4 -x path\to\ui.file -o output.file
Tag Archive: python
Feb 02
Setting xml:lang with lxml
Unlike every other attribute I’ve run across, setting xml:lang kept failing with an ‘invalid attribute name’ error. After the jump is how I fixed it.
Recent Comments