De-tupleizing a list

Gnarlodious gnarlodious at gmail.com
Mon Apr 25 23:28:22 EDT 2011


I have an SQLite query that returns a list of tuples:

[('0A',), ('1B',), ('2C',), ('3D',),...

What is the most Pythonic way to loop through the list returning a
list like this?:

['0A', '1B', '2C', '3D',...

-- Gnarlie



More information about the Python-list mailing list