Fredrik Lundh
2008-09-14 19:39:29 UTC
1. first, second, third, *rest = foo
update to Python 3.0 (as others have pointed out), or just dofirst, second, third = foo[:3]
rest = foo[3:]
for item in list_of_lists:
a, b, c = item[:3]
rest = item[3:]
...
and move on to more interesting parts of your program.
</F>