sourabh jambale
sourabh jambale

Reputation: 41

I tried programming with Python Pillow, but I don't get my output image

Following is the code and the output:

from PIL import Image

mac=open("example.jpg")

mac

win=open("pencils.jpg")

win

enter image description here

Upvotes: 0

Views: 23

Answers (1)

M Z
M Z

Reputation: 4799

try Image.open. Your code is using the default open method from Python which is used to open any file.

Upvotes: 1

Related Questions