G
G
gmg_gadmag2022-03-17 21:08:26
Python
gmg_gadmag, 2022-03-17 21:08:26

How to process txt file in python on telegram bot?

I am creating a telegram bot that will check the txt file, its contents. I need the bot to download and save it, and then check its contents and work with it, and also when a new file is sent, the old one is automatically erased. Yes, the problem is that get_file works strangely, or its use is not formulated correctly in Internet resources. I would like someone to explain to me how I can realize my idea, thanks in advance.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question