Answer the question
In order to leave comments, you need to log in
Python. How to store data?
I want to write a function for a telegram bot that would send some message every day at a specific time for each user, depending on the time zone. But for this, I need to first know the chat ID, username and its time zone (for each person). The question is how then to store this data. Dictionary, databases, json, something else?
Answer the question
In order to leave comments, you need to log in
Depends on how many users and posts per day. If there are less than a million messages, at least store them somewhere. If there are less than a hundred thousand users, the same is true. Maybe even in a shelve
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question