import telegram import requests from os import path file_path = path.relpath("dataout.txt") def send_msg(text): token = "XXXXXX" chat_id =