Introduction There are times when tinkering around in a console might suit you and your application nicely, but moving on may suit you nicely as well. This is where graphical user interfaces –- GUIs –- enter the story. Applications like this are often made in languages such as C++, Java and Visual Basic, but Python has the power to handle graphical user interfaces as well. A library called Tkinter is shipped with Python, but a better alternative exists: wxPython. If you're coming from a C++ background, this name probably sounds familiar. That's because it's a wrapper around wxWidgets. While Tkinter offers only a handful of options, wxPython offers many. You can put almost any widget you can imagine in your Python application, and since it's Python, it's extremely easy to do so. We'll take a look at wxPython in this article, exploring the basics of the library and its benefits. The first step in learning how to use wxPython is, obviously, obtaining the library. You may obtain it at the official site:
blog comments powered by Disqus |