How to run files that are not named main.py?
KarthikeyanM2

By default, repl runs files that are main.py but If I want to run someother file. How can I run it?

You are viewing a single comment. View All
Answered by Coder100 [earned 5 cycles]
View Answer
MicroSoftHelp

Create a .replit file, and type "run = "main.py examplefile.py"
replace example file with whatever file you are using