copying a tuple to a list..

sergio at village-buzz.com sergio at village-buzz.com
Mon Mar 6 12:42:10 EST 2006


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

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

dataResults

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