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

Nick nleioatt at gmail.com
Fri Jul 10 13:26:07 EDT 2009


On Jul 9, 8:22 pm, Paul Rubin <http://phr...@NOSPAM.invalid> wrote:
> Nick <nleio... 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.

no the '1st line' is garbled meta data, but thanks man



More information about the Python-list mailing list