Skip to navigation
Return only a simple list from a database call within python
07.12.13
example: c = con.cursor() c.execute("select id from TABLE ORDER BY id ") rows = [item[0] for item in c.fetchall()] will return a simple list with ids
Reply
Anonymous
Information Epoch 1773910416
Allow the user to tailor the environment.
Home
Notebook
Contact us