I’m not exactly sure to describe it so here is a basic storyboard of what I would like to do using Python: https://i.stack.imgur.com/dciMH.jpg
I’m quite new to GUI programming so I’m unsure which Python module is best for this. I’ve had a little look at Tkinter. How I would get the screen to change to the second image after the next button is pressed without opening a new window in Tkinter?
Secondly, what are some other GUI Python modules that you would recommend for this sort of project I’m doing?
Tkinter is a perfectly fine toolkit to lean on, as are other toolkits. The advantage tkinter has is that you probably already have it installed. Plus, it is very simple to use, and very powerful.
To answer your question on how to get the screen to change: tkinter uses geometry managers named
packandgrid(and to a much lesser extent,place) to layout your widgets in a window. These geometry managers have the feature that they can be asked to remove a window, making it invisible.You can, for instance, create each “page” as a
Framewith other widgets inside. To switch pages, callpack_ forgetorgrid_forgetto hide the current page, thenpackorgridto show the new page. This is a very common and useful technique.grid_removehas an added feature in that it remembers the options that were used to originally display the window, makinging it a little easier to toggle it between being visible and hidden.