Answers for "how to run multiple python file in repl"

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"
Posted by: Guest on October-08-2020
1

run a file other than main in repl

#main.py
import os
os.system('python3 <filename>.py')
Posted by: Guest on October-08-2020

Browse Popular Code Answers by Language