Take Screenshot using PyScreeze on Python

import pyscreeze
im1 = pyscreeze.screenshot()
im2 = pyscreeze.screenshot('my_screenshot.png')
import pyscreeze
im = pyscreeze.screenshot(region=(0,0, 300, 400))

pass a four-integer tuple of the left, top, width, and height of the region to capture

References
https://pypi.org/project/PyScreeze/