# importing Image class from PIL package from PIL import Image # creating a object im = Image.open(r"C:UsersSystem-PcDesktophome.png") im.show()