code: def ichunks_list(list_, chunksize):
      
      return (list_[ix:ix + chunksize] for ix in range(0, len(list_), chunksize))
docs: input must be a list.
  
      SeeAlso:
          ichunks
  
      References:
          http://stackoverflow.com/questions/434287/iterate-over-a-list-in-chunks