• Latest News

    Wednesday, 8 June 2016

    Best python package to develop GUI softwares/programs

    For all software developers this article you may find it useful. Python is a high-level programming language & very easy to code.

    Out of all GUI packages ( kivy, wxpython, tkinter etc) PyQt is more famous, faster & robust to be implemented in your IoT & Robotics Projects.

    How to start with PyQt?

    1. Download & Install Qt Designer: LINK
    2. Design your software & save to yourUI.ui file
    3. Include your GUI design in another file as package
    from PyQt4 import QtCore, QtGui
    # import the UI from the generated file
    from yourUI import Ui_MainWindow

    class MyMainWindow(QtGui.QMainWindow, Ui_MainWindow):
        def __init__(self, parent=None):
            super(MyMainWindow, self).__init__(parent)
            # if you didn't subclass Ui_MainWindow simply do:
            # Ui_MainWindow().setupUi(self)
    if __name__ == '__main__':
        app = QtGui.QApplication([])
        win = MyMainWindow()

    You can search for more tutorials about pyqt and comment me for source codes.

    • Blogger Comments
    • Facebook Comments


    Post a Comment

    Thanks for your comment. We will try to reply as soon as possible.

    VSL Creations

    Item Reviewed: Best python package to develop GUI softwares/programs Rating: 5 Reviewed By: Vishal Aditya
    Scroll to Top