This is the code for the screenshot:
im = ImageGrab.grab()
im.save(r'C:\screen.jpg')
I am suppposed to return the image but i dont know how to.
I've tried to open it as a file and read it in 1024 pieces but these are two different def so the response spose to be the file name.
with open (response, 'w') as filename:
data = filename.read()