Apr-22-2018, 07:48 PM
There are many solutions to open images with python. You can use GUI toolkits such as tkinter, wxpython, PyQt5, pygame etc. You can also use python bindings to the imagemagick library, such as the wand module
>>> from wand.image import Image >>> from wand.display import display >>> with Image(filename='/home/me/foo.jpg') as image: ... display(image) ... >>>