I'm really really beginning/nooby in this and i'm trying to detect the color green on my screen and when it shows up click the mouse button. im also using sublime text 2 but I also have idle.
import ImageGrab
import time
time.clock()
image = ImageGrab.grab()
for y in range(0, 100, 10):
for x in range(0, 100, 10):
color = image.getpixel((x, y))
print(time.clock())
i tried this but it just gives me this "ModuleNotFoundError: No module named 'ImageGrab'" I have been scouring the internet for littarl hours and i just cant find any tutorials that help with installing pillow. this is ridiculously complicated and im about to give up