python repl run a file code example Example: run a file other than main in repl #main.py import os os.system('python3 <filename>.py')