Skip to content
How do I change which file to run?
Profile icon
STEPHENYOON1057

When I tried to run my files after renaming them, it just said "No such file: main.py
repl process died unexpectedly: exit status 2?"
How do I change this so that it runs the renamed files?

You are viewing a single comment. View All
Profile icon
Coder100

Use a .replit file:

run = "python main1.py"

https://docs.repl.it/repls/dot-replit