Skip to content
← Back to Community
I've problems with the run button
Profile icon
Beeaniz

First thing, I'm a beginner programmer and that's my first code, and I'm having problems with the run button, I already read the documentation of replit, and I applied it at the code, but I still with problems with the run button, I don't know what to do to fix the bug.
Second, I'm brasilian, so some words on the strings are in portuguese.

Voters
Profile icon
Beeaniz
Comments
hotnewtop
Profile icon
InvisibleOne

You can't have a folder named main.py! It's needs to point to a file not a folder to run.
Try renaming your folder to main and then changing the run command to:
run="main/Desafios/Desafio_1-aula_4.py"

Profile icon
InvisibleOne

Or if you wanted things to be even simpler, you could just get rid of all those folders and name your python files main.py and secondary.py

Then the run button will automatically run main.py and you could make it python3 secondary.py if you wanted to run secondary.py

Profile icon
Beeaniz

@InvisibleOne ok, I will try it, thank you!