continue/else functionality
Chris Richard Adams
chrisa at ASPATECH.COM.BR
Mon Mar 12 16:13:12 EST 2001
I agree... in fact it seems to get worse the older I get.
For the record...the continue does work as stated - it goes for the next
iteration - my "other" problem was type comparison
if datalist[0][0] == 1: always fails..
Needed to use if datalist[0][0] == '1': since datalist[0][0] gives a
string.
Learn something everyday.
> -----Original Message-----
> From: Sean 'Shaleh' Perry [mailto:shaleh at valinux.com]
> Sent: Monday, March 12, 2001 5:49 PM
> To: Chris Richard Adams
> Subject: RE: continue/else functionality
>
>
>
> On 12-Mar-2001 Chris Richard Adams wrote:
> > so I'm an idiot...thanks.
> >
>
> nah, just needed to be pointed into a better direction.
>
> I find that programmer's (myself included) start to think
> about a problem one
> way and just can not get out of that mindset.
>
More information about the Python-list
mailing list