0

Python - mss

What function can I do screenshot in mss ? I hope you can tell me the function and how can I import. Thank you very much for your help !!!

14th Jan 2020, 3:06 PM
Ethan
Ethan - avatar
1 Antwort
+ 1
with mss.mss() as sct: # Take a screenshot of a region out of monitor bounds rect = {"left": 0, "top": 0, "width": -100, "height": -100} try: sct.grab(rect) except ScreenShotError: details = sct.get_error_details()
14th Jan 2020, 4:51 PM
Roman Ignatev
Roman Ignatev - avatar