repl.it run file code example
Example 1: run a lua file other than main in repl
#create a file named .replit and type code in the following format
language = "< preferred language>"
run = "name of file to run"
Example 2: run a file other than main in repl
#main.py
import os
os.system('python3 <filename>.py')