Skip to content
← Back to Community
Folder deletion
Profile icon
an13

I have a folder I want to delete and I can't find a way to. How would I do that?

-an13

Answered by Geocube101 [earned 5 cycles]
View Answer
Voters
Profile icon
Ikramah
Profile icon
IbrahimSemab
Profile icon
TheD
Profile icon
msingh3
Profile icon
penes
Profile icon
TashrifArefin
Profile icon
martinus2305
Profile icon
Anitaq
Profile icon
Norman676
Profile icon
an13
Comments
hotnewtop
Profile icon
Geocube101

Manual Delete:
Go to files on left side of screen
Select the 3 dots beside the folder
Press 'delete'

Delete with Python:

from shutil import rmtree rmtree('directory_name')
Profile icon
ArchieMaclean

By the way, you can't delete the Untitled folder, because it contains all your untitled repls.

Profile icon
Pythonier

@ArchieMaclean I had that same folder but I didn't know what it was or how to delete it, I thought it was a bug. Thank you!

Profile icon
19mahoneyb

can i delete the items IN the untitled folder?
@ArchieMaclean

Profile icon
ArchieMaclean

@19mahoneyb I guess you can delete each one separately, though I don't think you can delete all of them at once.

Profile icon
JSer

If you mean the folder in your REPL list, click the icon with 3 dots on the very right and click the "delete" button. However there's one default folder that you cannot delete ("Unnamed (0)").

If you're dealing with the folders in you project, simply go to the repl.it editor, navigate to the 'file' tab, click on the same icon of the folder you wish to delete, then click the "delete" button.
8C7C235B-F053-483C-ABFA-A8FEF04C0957
This file cannot be displayed:
96DD92F5-A264-43DB-8967-36DC62A25F8D