# 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()