做一个
while True内部的for循环,把你的
try代码中,并突破从
while只有当你的代码的成功循环。
for i in range(0,100): while True: try: # do stuff except SomeSpecificException: continue break

做一个
while True内部的for循环,把你的
try代码中,并突破从
while只有当你的代码的成功循环。
for i in range(0,100): while True: try: # do stuff except SomeSpecificException: continue break