Re: A little confuse

2006-11-19 Thread Fredrik Lundh
[EMAIL PROTECTED] wrote: > When I run this code in the pdb it works. > accountNbr = 1 > for testLine in ftest.readlines(): > acct = testLine[1:2] #there account number > if accountNbr == int(acct): > accountNbr = accountNbr + 1 > > When I run without the

A little confuse

2006-11-19 Thread [EMAIL PROTECTED]
When I run this code in the pdb it works. accountNbr = 1 for testLine in ftest.readlines(): acct = testLine[1:2] #there account number if accountNbr == int(acct): accountNbr = accountNbr + 1 When I run without the debugger I get this error. File "./casco