how to call python file from scr code example Example: run python file using python code exec(open('file.py').read())