I use arcpy to get all the polylines of a form file. SearchCursor returns a cursor so that I can iterate through all the functions of the form file. The problem is that I want to keep all the objects returned by the cursor for later use.
Tuple must contain all objects returned by the cursor. But it has only the last elements that are repeated by the size number of tuples of times.
3610930 2135882 3611593 2134453
3611806 2134981 3611593 2134453
3614160 2136164 3617432 2131734
3611593 2134453 3617432 2131734
3617432 2131734 3620568 2127591
3620568 2127591 3620785 2127423
3617980 2126657 3620568 2127591
3616768 2129454 3617948 2126649
3617948 2126649 3617980 2126657
3615102 2128889 3617587 2126510
3617587 2126510 3617948 2126649
3617624 2126416 3617980 2126657
3613129 2128176 3615155 2125617
3615155 2125617 3617587 2126510
3615086 2125515 3615155 2125617
3615086 2125515 3615155 2125617
3615086 2125515 3615155 2125617
3615086 2125515 3615155 2125617
3615086 2125515 3615155 2125617
3615086 2125515 3615155 2125617
3615086 2125515 3615155 2125617
3615086 2125515 3615155 2125617
3615086 2125515 3615155 2125617
3615086 2125515 3615155 2125617
3615086 2125515 3615155 2125617
3615086 2125515 3615155 2125617
3615086 2125515 3615155 2125617
3615086 2125515 3615155 2125617
3615086 2125515 3615155 2125617
3615086 2125515 3615155 2125617
At first I tried to use this list. The same output was found for the list when I used the append () method. As a tuple is an immutable data structure, as + overwrites all previous elements of the tuple. Although this code is written for the arc, but I think the problem is not specific.