I have a tuple of tuples from a MySQL query like this:
T1 = ((\'13\', \'17\', \'18\', \'21\', \'32\'), (\'07\', \'11\', \'13\', \'14\', \'28\'),
Using list comprehensions:
t2 = [map(int, list(l)) for l in t1]