Tkinter video 3: interacting with the window

Bind and window

In the last video we have seen how to bind and action to a function, so that we can make the computer do something when the user makes something on the window. The code changed the color of the window itself and the title. Now we will add a couple of line to add some changes, random color when we press, so we will see how to use choice from the random module.

Tkinter test for students

Tkinter articles

Published by pythonprogramming

Started with basic on the spectrum, loved javascript in the 90ies and python in the 2000, now I am back with python, still making some javascript stuff when needed.