for line in 'textfile.txt':
myvariables = line.split(':')
driver = ...
driver.get("google.com")
driver.quit()
Hello I am currently working with a simple script as the couple lines above... Here, per line in my text file, a selenium driver would open, get google, and quit. However, If there are, for example, two lines in my text file, one driver would open, then the second line would be handled after the first driver has quit. Is it possible to iterate over every line at the same time? So, basically, if there were two lines how could I make this run twice at the same time. Keeping this in one python file is a key factor for me. Appreciate any comments!