0

Pyautogui - screenshot()

1. Where will pyautogui.screenshot() save file ? 2. Can I use screenshot() and save it at RAM , not save in my computer ? 3. Is there pyautogui.screenshot.getpixel() function in pyautogui this module ? Hope you can solve my problem. Thank you for your answer!!!

11th Jan 2020, 9:26 AM
Ethan
Ethan - avatar
1 ответ
+ 1
you can save the taken screenshot with the save method. img = pyautogui.screenshot() img.save(r"(yourpath)/screenshot.png") check the path to see the image. for Ram, it is already in Ram when you assign it to a variable. img = pyautogui.screenshot()
11th Jan 2020, 11:44 AM
Bahhaⵣ
Bahhaⵣ - avatar