[python] SQLite - forma selectovaných dat
Lukáš Linhart
almad na include.cz
Sobota Leden 6 17:42:14 CET 2007
E-mail martin.stiborsky at gmail.com ze dne Saturday 06 January 2007 17:16:
>
> Potřebuju z toho:
> data = [('1', 'test1', 'abcdefg'), ('2', 'test2', 'bflmpszv12345')]
>
> Udělat toto:
> data2 = [['1','test1','abcdefg'],['2', 'test2', 'bflmpszv12345']]
data2 = [list(t) for t in data]
?
--
Lukáš Linhart
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.py.cz/pipermail/python/attachments/20070106/1f2b9da5/attachment.pgp
Další informace o konferenci Python