def chunkIt(seq, num):
    avg = len(seq) / float(num)
out = []
last = 0.0
while last < len(seq):
    out.append(seq[int(last):int(last + avg)])
last += avg
return out
splitting a list of arbitrary size into only roughly N-equal parts