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