Put the threads in a list, .start()
each thread, and then .join()
each thread:
threads = [
Thread(...),
Thread(...),
Thread(...),
]
# Start all threads.
for t in threads:
t.start()
# Wait for all threads to finish.
for t in threads:
t.join()