wxPython is a library that makes it easy for Python programmers to build graphical user interfaces. Over the past few weeks, you have seen some articles covering this library. This week, you will learn how to create a simple but useful application with wxPython.
This article assumes that you have only a little bit of skills with wxPython. You might want to read A Look at wxPython, Organization in wxPython and A Close Look at a Few wxPython Controls before reading this article, as they cover some material you will need to know to get the most out of it. This article covers the basics of designing a useful application in wxPython, thus gluing knowledge together to build something functional.
I find myself using Microsoft's Calculator program frequently. It's a very useful utility, even if it is extremely simple. Let's try to make a calculator similar to Microsoft's Calculator in Python. It's challenging to create, though it's not so tough that it requires us to go out of our way to learn anything major. We'll just try to create a simple copy. The scientific features of Microsoft's Calculator require other Python libraries, and the purpose of this article is to teach wxPython, not math.