Summary
In this chapter, you learned to take advantage of the power of Python classes. You learned to create your own classes, to define attributes and methods, and the function of magic methods. You also learned how to extend the functionality of existing classes with subclassing.
We explored how these techniques can be applied powerfully to Tkinter classes, to extend their functionality, build compound widgets, and organize our application into components.
In the next chapter, we'll learn about Tkinter's validation features, and further employ subclassing to make our widgets more intuitive and robust. We'll also learn how to automate input to save users time and ensure consistent data entry.