Nick <nleioatt at gmail.com> writes: > text = file.readlines() > len = len(text) > fields = text[1].split() Is that intended to split the first line of the file? Remember that arrays in python begin at index 0.