What is the python command to run a py-file.?
For example, in my index.py file how would i launch start.py.
What is the python command to run a py-file.?
For example, in my index.py file how would i launch start.py.
In index.py
, simply use subprocess
:
import subprocess
subprocess.check_output(["python", "start.py"])