hello
I am using the command line to present the pillow.
Image from PIL import myImage = Image.open (green_leaves.jpg)
gives me the following error
The name 'green_leaves' is not defined
--text "itemprop =" text ">
The file name argument is a string, and should be in quote:
myImage = Image.open ("green_leaves.jpg")
without the quotation marks, by name the Python jpg
Looks for green_leaves
of the referenced object, which does not exist; Therefore name error
.
Comments
Post a Comment