def chunks(list, size): for i in xrange(0, len(list), size): yield list[i:i+size] for list in list(chunks(product_without_season, 1000)): print list
No comments:
Post a Comment