Untitled

 avatar
unknown
python
3 years ago
251 B
6
Indexable
while True:
    # Se não estiver disponível, recomeçar com F5
    if pyautogui.locateCenterOnScreen('ingrDisp.png'):
        pyautogui.alert('TEM INGRESSO DISPONÍVEL!')
        break
    else:
        pyautogui.hotkey('F5')
        sleep(4)
Editor is loading...