'How can i run a python script multiple times in parallel?
I have a script 'myscript.py', i would like to run this script from my bash shell multiple times in parallel? The script takes input parameters.
I've tried the following:
$python myscript.py & $python myscript.py &
and
$python myscript.py && $python myscript.py &&
Is this even possible?
Thanks in advance.
Solution 1:[1]
You could try opening two separate terminal instances and then type python myscript.py in each of them.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | robino16 |
