Answer the question
In order to leave comments, you need to log in
How to remove comma from sqlite output?
I need to remove the comma from the output, how do I do that?
cursor.execute(f'SELECT star FROM stars WHERE photo = "{randomwall}" ')
mark = cursor.fetchone()
con.commit()
user_id = message.from_user.id
username = message.from_user.username
bot.send_message(admin_chat, f'User saw random wallpapers!\n\ninfo: @{username} / {user_id}')
bot.send_message(message.chat.id, "Чтобы скачать обои в хорошем качестве,перейдите по ссылке)", reply_markup=key_random)
markup = telebot.types.InlineKeyboardMarkup()
markup.add(telebot.types.InlineKeyboardButton(text='Сохранить❔', callback_data="save"))
markup.add(telebot.types.InlineKeyboardButton(text=f'Лайк ♥ {mark}', callback_data="stars"))
bot.send_message(message.chat.id, randomwall, reply_markup=markup)
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