Answers for "how to start python script from run"

12

run python file using python code

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

python project script run

import os
import sys
sys.path.append(os.path.join(os.path.dirname(__file__),'../../'))
import src.mymodules.module1
Posted by: Guest on June-16-2021

Code answers related to "how to start python script from run"

Python Answers by Framework

Browse Popular Code Answers by Language