Ask coding questions

← Back to all posts
How do you change the file
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
RileyFord2
Egghead21
vickyhappy
Comments
hotnewtop
Egghead21

You can right click the file, then click rename

vickyhappy

@Egghead21 I meant this

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?

Egghead21

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

vickyhappy
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'