Ask coding questions

← Back to all posts
How do you change the file
vickyhappy (1)

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

Answered by Vandesm14 (2168) [earned 5 cycles]
View Answer
Commentshotnewtop
Egghead21 (5)

You can right click the file, then click rename

Vandesm14 (2168)

@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 (5)

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

DeBeast591 (126)

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'