Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

show a image in python

# importing Image class from PIL package
from PIL import Image
 
# creating a object
im = Image.open(r"C:UsersSystem-PcDesktophome.png")
 
im.show()
Source by www.geeksforgeeks.org #
 
PREVIOUS NEXT
Tagged: #show #image #python
ADD COMMENT
Topic
Name
8+2 =