Code en cours d'exécution de temps en temps Python

flg = True
while COUNT != 0:
    print("Running!")
    if flg:
        text = process[0] + " process running"
        url = URL + "sendMessage?text={0}&chat_id={1}".format(text, CHAT_ID)
        # send message to groups
        requests.get(url)
        flg = False
Handsome Horse