[Tutor] int uncallable

2005-07-18 Thread cgw501
Hi, This code: for line in satFile: lineListed = line.split() start = int(lineListed[5])-1 end = int(lineListed[6]) hitLength = end - start extra = len(lineListed[9]) total = hitLength + 2(extra) gives an error: Traceback (most recent call last): File "test2.py",

Re: [Tutor] int uncallable

2005-07-18 Thread Kent Johnson
[EMAIL PROTECTED] wrote: > Hi, > > This code: > > for line in satFile: > lineListed = line.split() > start = int(lineListed[5])-1 > end = int(lineListed[6]) > hitLength = end - start > extra = len(lineListed[9]) > total = hitLength + 2(extra) You are trying to call 2