This section provides an overview of what
PyQt4 is, and why a developer might want to use it.
PyQt is a GUI widgets toolkit. It is a Python interface for Qt, one of the most powerful, and popular cross-platform GUI library. PyQt is a blend of Python programming language and the Qt library. This introductory tutorial will assist you in creating graphical applications with the help of PyQt.
It should also mention any large subjects within
PyQt4, and link out to the related topics. Since the Documentation for
PyQt4 is new, you may need to create initial versions of those related topics.
import sys from PyQt4 import QtGui def window(): app = QtGui.QApplication(sys.argv) w = QtGui.QWidget() b = QtGui.QLabel(w) b.setText("<h1>Welcome to PyQt4 SO Documentation!</h1>") w.setGeometry(100,100,550,65) b.move(50,20) w.setWindowTitle("PyQt4 Hello World Demo") w.show() sys.exit(app.exec_()) if __name__ == '__main__': window()
Detailed instructions on getting pyqt4 set up or installed.
If you want to install the version specific to your system python version and you system configuration(32-bit or 64-bit) then go to this link and download and install the package. You can install the
.whl file simply by going to command prompt
pip install PyQt4‑4.11.4‑cp34‑none‑win_amd64.whl .
Go a head Install the software and Start Building Awesome GUI!!