Answer the question
In order to leave comments, you need to log in
How to skip individual loops in Python?
Hello. There is automation that works through loop. If on any of the circles something does not go according to plan, he immediately throws it out and everything has to be done all over again. How can I get around this so that each circle is independent, so to speak?
aList = open("info.csv", "r")
bList = open("name.csv", "r")
for a,b in zip(aList, bList):
print(a)
print(b)
try:
driver.get(a)
driver.maximize_window()
time.sleep(20)
except TimeoutException:
continue
driver.quit()
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question