Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

for one line python

to_db = [(i['col1'], i['col2']) for i in dr]
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #line #python
ADD COMMENT
Topic
Name
9+4 =