#!/usr/bin/env python
# -*- coding: utf-8 -*-
import csv
data = open('code.csv', 'r')
for string in data.readlines():
step = 5
novel = (string[i:i+step]
for i in xrange(0, len(string), step))
print list(novel)
['abcde', 'fghij', 'klmno', 'pqrst', 'uvwxy', 'z']