easiest way to split a list into evenly divisble smaller lists, and assign them to variables?

gene tani gene.tani at gmail.com
Tue Jun 7 04:17:31 CEST 2005


http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/303279
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/347689
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/303060

OR: collections.deque:
http://python.org/doc/2.4/lib/deque-recipes.html





flamesrock wrote:
> hmmm..that makes much more sense. thanks :)




More information about the Python-list mailing list