multi-thread – Run Bash scripts in parallel


I would like to run a script several times in more than 10 folders in parallel. What I need to know is how to structure the arguments by number. My non-parallel script is:

For i in {1..10};
    do python myscript.py "folder_"$i;
done;

I have heard of mpirun but I am not sure how to structure the arguments by folder number or something similar.