I am currently using the Pil library for a project, however i keep running into the same problem which will not let me do anything at all.
# Create the handle and then create a list of pixels.
image = Image.open(filename)
pixels = list(image.getdata())
I have imported the PIL library into the task but i keep getting the same eror stating: "NameError: global name 'Image' is not defined"
I cant find how to fix this any help?