Answer the question
In order to leave comments, you need to log in
How to display all records from a column on bot buttons?
# КЛАВИАТУРА
keyboard_del = types.ReplyKeyboardMarkup(one_time_keyboard=True, resize_keyboard=True)
# ВЫВОД ДАННЫХ
cur.execute("SELECT * FROM zametki")
rows = cur.fetchall()
# УДАЛЕНИЕ ЗАМЕТОК
def delete_zametku(message):
for i in rows:
keyboard_del.row(i[1])
# ОБРАБОТКА ПРОСМОТРА ЗАМЕТОК
#Без ошибок,ничего не выводится
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