from IPython.display import display, Imagecapture
Screen Capture.
capture_screen
def capture_screen(
timeout:int=15
):
Capture the screen as a PIL image.
capture_tool
def capture_tool(
timeout:int=15
):
Capture the screen. Re-call this function to get the most recent screenshot, as needed. Use default timeout where possible
# Don't run-all -- only run this after choosing a window to share
img = await capture_screen()
img.thumbnail((700,700))# img