Answers for "how to link a file in repl to the main file python"

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 "how to link a file in repl to the main file python"

Browse Popular Code Answers by Language