string issue

Alan McIntyre alan.mcintyre at esrgtech.com
Fri Feb 4 14:40:27 EST 2005


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



More information about the Python-list mailing list