how to run a python program in linux code example Example: run python file using python code exec(open('file.py').read())