copying a tuple to a list..

sergio at sergio at
Mon Mar 6 18:42:10 CET 2006

i have a result tuple from a MySQLdb call that would like to change in

i would like to copy it to a list, so i can modify it in place, but i
cannot figure out how to do it.

the result typle is


and i thought i could do something like

dataList = []

dataList = dataResults

but that doesn't work very well..

anyway.. thanks for the help..

More information about the Python-list mailing list