1>>> x = "qwertyui"
2>>> chunks, chunk_size = len(x), len(x)/4
3>>> [ x[i:i+chunk_size] for i in range(0, chunks, chunk_size) ]
4['qw', 'er', 'ty', 'ui']
1>>> x = "qwertyui"
2>>> chunks, chunk_size = len(x), len(x)/4
3>>> [ x[i:i+chunk_size] for i in range(0, chunks, chunk_size) ]
4['qw', 'er', 'ty', 'ui']
5