Now, that's a very nice interface but apart from being nice there is not much you can do with it and this part of the tutorial will tell you how. But first, let's take a look at the required libraries (or modules if you prefer) to run our little app:
- sys, to be able to use sys.exit(1) terminates Python in midflight if some requirements regarding GTK are not met
- some functions that use a database to store and retrieve data (in this case DBStuff, it uses MySQLdb)
- matplotlib, to create them beautiful plots
- pygtk
The next part shows how the modules are loaded: |