Starting a few days ago, Replit is ONLY executing the main.py contents. It doesn’t matter what other files I choose. If I empty the main.py file, nothing happens of course when I press Run. Is this some temporary thing that has only happened to me, or does anybody else have the same problem?
Also, I need some advice how to create a portfolio (in Replit) with interesting programs and projects. Potential employers should be able to access this portfolio through a link (and preferably they should be able to execute the files). It’s so easy, according to Replit, to fix a portfolio, but I’m totally lost.
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.
I will try to implement your solutions. However, I am pretty certain that I until recently could just click on a .py file and execute it, or am I wrong?
@doktoranders Well, in the Shell, you can enter python fileIwantToRun.py to view the output of that file in the Shell. Or, use the methods I stated in the post above.
Hope this helps!