June 2025
Intermediate to advanced
515 pages
17h 5m
English
In this chapter, you’ll learn how to create user interfaces using Python’s Tkinter module. The project task demonstrates the simulation of a control loop with a PID controller.
One disadvantage of console applications is how they severely limit interactions with the user. The Python console provides only the input and print methods for input and output but no other interactive controls. In addition, mathematical functions cannot be represented graphically.
To compensate for this shortcoming, several other graphical user interfaces (GUIs) for Python exist besides Tkinter, such as pyGTK, wxPython, or PyQt. Because of the sometimes pretty high programming effort and the high required resources, I won’t go ...
Read now
Unlock full access