Ask coding questions

← Back to all posts
About Renaming
BladeMark (0)

Hey! I have a simple question.

If I rename like to other names, it cannot run, showing "No such file:" and "repl process died unexpectedly: exit status 2" in the console.

How to deal with this? I didn't find the answer in the doc. OMG!


Answered by InvisibleOne (3003) [earned 5 cycles]
View Answer
InvisibleOne (3003)

Well repl by defualt looks for a file, to make a different file the entry point you have to create a file named .replit and put this inside it: run = "python3" with filename being you filename of course.
Here's a tutorial on .replit files :

notGilbert (121)

Add a .replit file and put:


more info -

BladeMark (0)

Thank you guys! ^_^