import time
ips = ['255.255.255.255', '128.173.120.79', '198.82.247.98', '127.0.0.1', '255.0.0.0', '255', '128.173.255.34']
for ip in ips: if '255' in ip: try: print "Removing", ip ips.remove(ip) except Exception, e: print e
print ips time.sleep(5)
Someone tell me I'm going crazy ;) -- http://mail.python.org/mailman/listinfo/python-list