How can I run multiple PyROOT (Python) scripts using this script?

Hello,

If you want to start from scratch every time you run a different Python script, one option is to turn that code into a shell script and create a new Python process every time. Alternatively, you can spawn subprocesses from the Python script above:

https://docs.python.org/3/library/subprocess.html

1 Like