Starting python programming is really easy, but it could be easier if we were able to use a graphical interface to access its capabilities. With this tutorial you will run yout first python graphical application in less than one minute!
Step 1: Install Python
For more installer packages visit the official Python release page.
Install wxPython runtime. If you installed Python 2.6, you may want to download one of these installers:
For more installing options visit the official wxPython download page.
Step 3: Install wxFormBuilder
Install wxFormBuilder version 3.1 or above. Note: there is currently no stable version, so for now you must install the beta version:
Windows Installer, Mac Installer (coming soon), Ubuntu package (coming soon).
For more info on wxFormBuilder visit its official page.
Step 4: Download the template application
Download and unzip this template application. You can already launch main.py contained inside and see the template application.
Step 5: Customize the graphical user interface
The gui can be customized with wxFormBuilder. It is very easy to understand how to place controls and to bind events handlers. Use the sample controls provided.
Step 6: Customize event handlers
Each control provides a set of predefined events. With wxFormBuilder it is easy to bind handlers (i.e. functions) to events: