I want to make something like this:
A FOR in python that each iteration runs in a different Thread, and, mainly, print when the thread ends.
Basically I want to make some QA tests in wy website, and create a bunch os samples.
I have a great machine, so I want to use my CPU and Memory to optimizing this execution.
driver = webdriver.Chrome(service=Service(ChromeDriverManager().install()), options=options) for i in range(10): driver.get(myWebsite) print('Exec: ' + str(i + 1)) time.sleep(2) How can I do this? I know how to use threads, but how to use to iterations or multiple actions?