0

So im trying to write a python program to open an image in a folder, using windows image viewer based on users input. Would I have to first open the program and then somehow specify a path or is there a simpler way to do this?

pseudocode:

userselection = input("Type A or B to select the image to open")
if userselection == X Open image using windows image viewer
Dezert
  • 99
  • 1
  • 6
  • Does this answer your question? [Showing an image from console in Python](https://stackoverflow.com/questions/1413540/showing-an-image-from-console-in-python) – Luka Banfi Jun 22 '21 at 21:53

0 Answers0