Answer the question
In order to leave comments, you need to log in
How to output a normal string with a select in mysql?
Good day.
I have this code (example):
cursor.execute("select vk_user_id from users where telegram_user_id = " + str(message.from_user.id))
result_vk_user_id = cursor.fetchall()
print(result_vk_user_id)
[(323826602,)]
323826602
?
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