P4-Catalog-Web-App/vagrant/catalog/helper.py
def chunkify(l, chunk_size):
    """Return list of evenly sized lists"""
    book_chunks = []
    for i in xrange(0, len(l), chunk_size):
        book_chunks.append(l[i:i + chunk_size])

    return book_chunks
Return list of evenly sized lists
Return list of evenly sized lists
Return list of evenly sized lists
def chunkify(l, chunk_size):
    book_chunks = []
    for i in xrange(0, len(l), chunk_size):
        book_chunks.append(l[i:i + chunk_size])
    return book_chunks
def chunkify ( l , chunk_size ) : book_chunks = [ ] for i in xrange ( 0 , len ( l ) , chunk_size ) : book_chunks . append ( l [ i : i + chunk_size ] ) return book_chunks
Return list of evenly sized lists
Return list of evenly sized lists
"""Return list of evenly sized lists"""
l
chunk_size