R
R
Ruslan Mordovanech2021-12-22 00:56:52
Python
Ruslan Mordovanech, 2021-12-22 00:56:52

Notification that your name is on the list?

import sqlite3
 
conn = sqlite3.connect("mydatabase.db") # или :memory: чтобы сохранить в RAM
cursor = conn.cursor()
 
cursor.execute("""CREATE TABLE albums
                  (title text, artist text, release_date text,
                   publisher text, media_type text)
               """)


I made it possible to register a name and mob through the bot. Base on sqlite but list on CSV. I can’t figure out how to check the lists for a name and then write it to the database as a mark and constantly update it like that.
I'll be glad for a hint

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