I\'m trying this simple code, but the damn break doesn\'t work... what is wrong?
while True: for proxy in proxylist: try: h = urllib.urlo
break is breaking the innermost loop, which is the for loop in your case. To break from more than one loop you have few options:
for
return
but in your case you actually don't need the outer while loop at all. Just remove it.
while