Ask coding questions

← Back to all posts
How do you change the name of a file??
tcramer

I edited the name and the d/l zip file was named main.py; perhaps because this is a free service - but I can't change the .py file name in my Linux directory.. something I'm missing. I used ren in a previous life but doesn't work in a GUI situation.

Voters
TheBestTaran
SobiaIffath
BrynnSchwartzho
Jisoocoder
achalam
tcramer
Comments
hotnewtop
Atomic-Gamming

You can't rename the main file but your can rename every other file's name

MrEconomical

its main.py because when running the program main.py will always be executed. its just a convention so dont change the file name, just like how javascript there is always an index.js

TheBestTaran

fork your repl and rename