QT development

the __name__ == IF "__main__":
    Import SYS
    App = QtGui.QApplication (the sys.argv)
    ui = the MainWindow ()
    ui.show ()
    the sys.exit (app.exec_ ())




import file ui
from the PyQt4 Import the QtCore, QtGui

pyinstaller file folder name packaged into
pyinstaller -F filename packaged into a single file
pyinstaller -F -w filename packaged into a single file removal console
pyinstall -F -w -i + picture image path name (path by double slashes) file name

self.lcdNumber.display (value) #LCD tube incoming values

Guess you like

Origin www.cnblogs.com/learnpython/p/11886547.html