Answer the question
In order to leave comments, you need to log in
Telegram bot optimization) Can you help?
Hello. Faced the problem of optimizing my telegram bot. He parses and searches for weather on demand online in 44 cities of my country. For each city in the class, a parser is written as a class method.
Now I want to simplify the task and redo the algorithm. I want to make a dictionary where the key is the city and the value is the link. From this question. Does a Python dictionary iterate faster than a class?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question