Wow, that's cool; I'd never seen that before. :) Thanks, Steve.. Steve Holden wrote: > You are modifying the list as you iterate over it. Instead, iterate over > a copy by using: > > for ip in ips[:]: > ... > > regards > Steve