Python – run part of code multipel times at once

I have this code:

configurationsFile = "file.csv"
configurations = ()


def loadConfigurations():
    with open(configurationsFile) as csv_file:
        csv_reader = csv.reader(csv_file, delimiter=';')
        line_count = 0
        for row in csv_reader:
            url = row(0)
            line_count += 1
            configurations.append({"url": url})
        print(f'{line_count} urls loaded.')

loadConfigurations()


failedConfigs = ()

session_requests = requests.session()

for config in configurations:
    try:
        "Do something with the url loaded fron file.csv"

            
    except Exception  as e: 
        print(e)
        failedConfigs.append(config)

if len(failedConfigs) > 0:
    print("These errored out:")
    for theConfig in failedConfigs:
        print("ERROR: {}".format(theConfig('url')))

It reads urls from a csv file, and then runs a code for each of the urls thats listed in the csv file.
The only “problem” is if the csv file contains alot of urls, then it takes a long time to run thru them all. So Im looking for a way to run more then one url at a time.

Im not that good with python so I dont even know if its possible.
But the question is, is there some way to tell the code to run, say 5 urls at once insted of just 1?