GUI development in Python

Python offers amazing support for developing GUI applications. GUI development in python is mainly based on libraries like pygtk, pyqt,wxpython,tkinter and many other toolkits.All Python GUI toolkits are useful, ‘better’ depends on your application, your version of Python, your OS and your skill level. Wxpython is mainly used for python programming in windows environment, while pygtk and pyqt for Linux environment, although they are cross-platform.. If you plan to build a really simple applications Tkinter would do, but for complex programs pygtk or pyqt is prefered. For more details on various toolkits, visit http://wiki.python.org/moin/GuiProgramming.

Tkinter:The basic GUI tool for python which is based on TCL language. It is the best toolkit for the beginner to experiment with, and has lots of example code. Tkinter lacks some really cool widgets. The IDLE IDE is written with Tkinter.

WxPython:
Python library with lot of widgets and inbuilt support for Opengl. Wxpython is based on wxWindows which is written in C++. It works with most Operating Systems. IDE’s like DrPython, UliPad and SPE are written with wxPython.

[adsense1]

PyQT:
Based on QT written in C++. PyQT is available for Python2 and Python3 on all Operating systems. The only toolkit that may have a license issue for commercial use. The Eric IDE is written with PyQT.

PyGTK:
Pygtk is based on GTK. It is present by default on almost all linux distros. Some code samples can be found. The popular Geany IDE is written with GTK.

Source:pythoncodings.blogspot.com

This entry was posted in Python Tutorial and tagged , . Bookmark the permalink.