Answers for "how to execute python script from python"

15

run python file using python code

exec(open('file.py').read())
Posted by: Guest on May-24-2020
0

how to run a python script

#terminal, <python path> <python file>
/usr/bin/python /mydir/myscript.py
Posted by: Guest on December-21-2021

Code answers related to "how to execute python script from python"

Python Answers by Framework

Browse Popular Code Answers by Language