Chapter 5. Working with the Python GUI
In the first four chapters, we used the Python interactive prompt or Arduino serial monitor to observe the results. The method of using text-based output on prompt may be useful for basic and quick prototyping, but when it comes to an advanced level of prototyping and demonstrating your prototype or final product, you need to have a nice looking and user-friendly interface. GUI helps users to understand various components of your hardware project and easily interact with it. It can also help you to validate the results from your project.
Python has a number of widely used GUI frameworks such as Tkinter
, wxPython
, PyQt
, PySide
, and PyGTK
. Each of these frameworks possesses an almost complete set of features that are required to create professional applications. Due to the complexity involved, these frameworks have different levels of learning curves for first-time Python programmers. Now, as this book is dedicated to Python programming for...