Answers for "riplit how to link a new file to main.py"

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

Code answers related to "riplit how to link a new file to main.py"

Browse Popular Code Answers by Language