how to run py code with one click code example Example: run python file using python code exec(open('file.py').read())