How to retry after exception in python?
<p>I have a loop starting with for i in range(0, 100), and inside the loop, normally it would run correctly, but sometimes due to network conditions it would fail. Currently i have it set so that when failed, it would continue in except clause (continue on to the next number for i). I was wondering whether it is possible for me to reassign the same number to i and run through that the failed iteration of loop again.</p>

<p>Thanks a lot!</p>

<p>Jason</p>
