import pyautogui  pyautogui.locateOnScreen('some_image.png', region=(0,0, 300, 400)) 

Read more of this post