Won't run different file

Question:
why won’t it run any other file
Repl link/Link to where the bug appears:

Screenshots, links, or other helpful context:
when I try to run any file it shows this

/nix/store/xf54733x4chbawkh1qvy9i1i4mlscy1c-python3-3.10.11/bin/python3: can't open file '/home/runner/Python/main.py': [Errno 2] No such file or directory

it’s trying to run a file that dosen’t exist and that I don’t want to run. I don’t know how or why it keeps doing this.

Hey @phineasherndon!

Just click the next to “Files” then click “Show hidden files”. Next click on the .replit file and finally you can change the entrypoint to whatever file you want to run.

Images

Dots

Show hidden files

edited

You should also see the docs on how to configure a Repl: https://docs.replit.com/programming-ide/configuring-repl

And if you want to run the last edited file, take a look at this post:

4 Likes