I have a python script that is used to check logins for a website are correct. If a login is incorrect it will write an error code to a text file. The problem I have is that sometimes the websites servers are poor and will incorrectly give me an error. I need the program edited so that if a login fails, it tries the login again another 2 times before continuing onto the next one and writing an error code.
This project should be fairly simple.
Hi! I can help you in modifying the script. I will add the code, so that it tries to re-login twice before moving forward with the rest. Do you need it to wait for sometime before trying again?
Thanks,
Anupam