Re: REALLY need help with iterating a list.

2007-06-11 Thread Radamand
On Jun 11, 12:59 pm, infidel <[EMAIL PROTECTED]> wrote: > On Jun 11, 11:30 am, Radamand <[EMAIL PROTECTED]> wrote: > > > > > This has been driving me buggy for 2 days, i need to be able to > > iterate a list of items until none are left, without regard to w

Re: REALLY need help with iterating a list.

2007-06-11 Thread Radamand
On Jun 11, 1:23 pm, Fredrik Lundh <[EMAIL PROTECTED]> wrote: > infidel wrote: > > How about something like this? > > > while serverlist: > > server = serverlist.pop(0) > > pinger = ping[server] > > if pinger.returncode==None: > > pinger.poll() > > serverlist.append(serve

REALLY need help with iterating a list.

2007-06-11 Thread Radamand
This has been driving me buggy for 2 days, i need to be able to iterate a list of items until none are left, without regard to which items are removed. I'll put the relevant portions of code below, please forgive my attrocious naming conventions. Basically i'm trying to spin up some subproc