Summary
We worked with several useful standard modules such as functools
, itertools
, and json
.
We saw how to work with JSON files. JSON helps us present complex rules about our domain and are an easier and more portable alternative to storing the same information in say a database.
We looked at the practical usage of widget.grid_propagate(False)
along with some of its limitations in terms of non-responsiveness.
We saw the usage of OrderedDict
from the collections
module and partials
from the functools
module.
We looked at various root window methods such as root.geometry
, root.winfo_screenwidth
, and root.resizable
.
We looked at widget.update_idletasks
, which lets us clear all pending updates without having to wait for the next run of mainloop.
Finally, we looked at the steps involved in making a window responsive in Tkinter.