D
D
DEUS92019-01-24 10:30:09
Python
DEUS9, 2019-01-24 10:30:09

Need to store two or three data fields, which storage method to choose?

Need to store two or three data fields, which storage method to choose? A full database seems redundant than can be substituted for quick access. I write in Python. I don't want to use a separate file for storage in a simple array or list.
telegram-bot state storage and authorization by phone

Answer the question

In order to leave comments, you need to log in

3 answer(s)
M
Mikhail Trainin, 2019-01-24
@Stormx480

Vedis.
Here is a full lesson on how to store user states when working with Telegram Bot

E
Evgeny Akulinin, 2019-01-24
@forkhammer

As a variant of SQLlite. The Python standard library has libraries for working with it.

B
bbkmzzzz, 2019-01-24
@bbkmzzzz

Write in JSON format. And then there are the bases. As a simple embedded sql database, there is SQLite - it is represented by a built-in library.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question