Make a python script that opens another python script
04:13 03 Jan 2020

I am very disappointed that after looking for several hours, I have still not found an answer to: - Make a python script that opens another python script ?

Mabye I don't know how to search for stuff, but I am usually good at finding solutions online.

Any help would be gladly appreciated!

Here's my code:

import subprocess    
subprocess.Popen(['C:\Users\user\Documents\run.py'])

Here is the python file called "run.py"

print('Hello World!')

Thanks!

python subprocess popen