gett error message: "TypeError: 'int' object is not callable"

Paul Rubin http
Fri Jul 10 02:22:06 CEST 2009

Nick <nleioatt at> 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.

More information about the Python-list mailing list