Python Forum

Full Version: Displaying Image Files in a GUI
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

I have this situation:

I'm developing a GUI.
This GUI will display an image (png file) from another folder.
There will be a button on the GUI to update to a new image.

The idea is that there's a button in the GUI.
When the user clicks the button, it displays a random image from the folder.

How do I get the image file to show in the GUI?
Before you start, decide which GUI language you wish to use.
As a beginner, I think Kivy might be a good place to start. see: https://kivy.org/#gallery

Then you are going to have to learn how to use the GUI language
General: https://kivy.org/doc/stable/gettingstart...mples.html
Mobile app tutorial: https://realpython.com/mobile-app-kivy-python/