📅  最后修改于: 2022-03-11 14:45:20.256000             🧑  作者: Mango
# Using the pillow library's ImageGrab
from PIL import ImageGrab
# Use these parameters to capture all avaliable screens
image = ImageGrab.grab(bbox=None, include_layered_windows=False, all_screens=True)
# Shows an image of what it captured
image.show()