Re: Iterate through a list of tuples for processing

2013-09-20 Thread Vlastimil Brom
2013/9/20 Shyam Parimal Katti : > I have a list of tuples where the number of rows in the list and the number > of columns in tuples of the list will not be constant. i.e. > > ...> i.e. > > list_value = [(‘name1’, 1234, ‘address1’ ), (‘name2’, 5678, ‘address2’), > (‘name3’, 1011, ‘addre”ss3’)] > >

Iterate through a list of tuples for processing

2013-09-20 Thread Shyam Parimal Katti
I have a list of tuples where the number of rows in the list and the number of columns in tuples of the list will not be constant. i.e. list = [(a1,b1, …z1), (a2,b2, …, z2),…. ,(am,bm, … , zm )]. It can be compared to the SQL results, as the number of columns change in the sql, the number of col