Reputation: 41
Following is the code and the output:
from PIL import Image
mac=open("example.jpg")
mac
win=open("pencils.jpg")
win
Upvotes: 0
Views: 23
Reputation: 4799
try Image.open
. Your code is using the default open
method from Python which is used to open any file.
Upvotes: 1