`range(0, len(zipdata), 79)`? Also, won't the next line produce an out of range error unless `zipdata`'s length is a multiple of 79?