When a Python Repl is created in Project Mode, the main.py file that is created automatically is ignored. When run, it produces the following error: "unable to run, main file 'main.py' not found".
The interface allows a second main.py file to be created, but not a third. Neither file can then be deleted. When run, only the second main.py file is run.
Hi @WllmBrandt - can you give us some specific steps to reproduce?
In "my repls", when hovering the cursor over the red "+" button in the bottom right corner, two more buttons with the same Python icon appear. Both buttons show "Python3 repl" as a tooltip when hovered over, but the URL text at the bottom of my browser screen says one points to "https://repl.it/languages/python3_project", while the other points to "https://repl.it/languages/python3". If you click on the one with "project" in the URL, it creates a new Python repl which I assume is in project mode. You can then run the repl without entering any code, and it throws the previously mentioned error.
It's my understanding that repls have two modes: single file and project mode. The reason I wanted to start in project mode was to avoid having to create and delete a dummy file first to enter project mode before my code is allowed to create new files.
@WllmBrandt: Oh, what, that definitely should not be the case. Thanks for bringing this to our attention. There should not be any repl that has _project in the name - to convert a repl to project mode, you just manually add a file or folder. We'll look into this - thanks again