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 !!!
1 Answer
+ 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()