/nix/store/xf54733x4chbawkh1qvy9i1i4mlscy1c-python3-3.10.11/bin/python3: can't open file '/home/runner/Intro-to-Computing-Homework-1/main.py': [Errno 2] No such file or directory
what should I do? I am very confused and frustrated. I use python
Replit, by default, wants to run the file called “main.py” when you click the Run button. Looks like you renamed that file to something else. Change the name back to main.py and you should be fine.
Thank you for the fast reply! It works now. The only problem is, my professor asked it to be called a certain way… Guess it is what it is, thank you for the fast reply!
One can use a different file than main.py with some configuration.
Click three dots near files and click Show hidden files. Then, open .replit file.
Change the entrypoint variable to whatever file you want.