# take_screenshot.py
from PIL import ImageGrab
# capture the screen
ourImage = ImageGrab.grab()
# save screenshot as .png
ourImage.save('ourNewTexture.png')
####
# Requires: Pillow
# Install: pip install Pillow
# Dedicated to God the Father
# All Rights Reserved Christopher Andrew Topalian Copyright 2000-2024
# https://github.com/ChristopherTopalian
# https://github.com/ChristopherAndrewTopalian
# https://sites.google.com/view/CollegeOfScripting