Skip to content
← Back to Community
How do you change the file
Profile icon
vickyhappy

On top of the editor where it say main.py i need to change it to Program1.py

Answered by Vandesm14 [earned 5 cycles]
View Answer
Voters
Profile icon
bhaweshganeshe
Profile icon
CaedenMantei
Profile icon
RileyFord2
Profile icon
Egghead21
Profile icon
vickyhappy
Comments
hotnewtop
Profile icon
Egghead21

You can right click the file, then click rename

Profile icon
vickyhappy
Profile icon
Vandesm14

@vickyhappy You cannot change the name of the main.py file on repl.it. Is there a specific reason why you'd need to do so?

Profile icon
Egghead21

@vickyhappy
You can't change main.py, but you can make a new file.
image

Profile icon
vickyhappy
Profile icon
DeBeast591

You can't change the main file (main.py) but you can make another file and put import Program1, this will run the file 'Program1.py'