How to show images - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: General Coding Help (https://python-forum.io/forum-8.html) +--- Thread: How to show images (/thread-29406.html) |
How to show images - gr3yali3n - Sep-01-2020 How would I show an image file? So, I have in mind a simple enough piece of code ask for input What is your favorite planet? Now output a picture of said planet, how would I go about this I thought tkinter but I’ve yet to Figure it out. Do I use pillow and tkinter? What is the method here? RE: How to show images - Larz60+ - Sep-01-2020 tkinter will do, images are usually presented on a canvas, using photoimage to render the image. see: https://www.python-course.eu/tkinter_canvas.php search for 'The Canvas Image Item' |