D
D
Denis2020-08-12 00:05:01
MySQL
Denis, 2020-08-12 00:05:01

How to get list from MySQL table in Python?

Good day! Tried googling but couldn't find an answer to my question. I need to get a list in Python from a MySQL table with two columns, but I don’t really understand how this can be done. I will be glad to any answer and advice.
Ps In the script, I first save the data in the database, and then I need to parse the data from the database in different parts of the code.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
SKEPTIC, 2020-08-12
@Peregrinus_geek

pymysql module. Do you google the doc yourself or for you?
g.zeos.in/?q=Pymysql%20documentation

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question