Ask coding questions

← Back to all posts
Folder deletion
an13 (8)

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 (590) [earned 5 cycles]
View Answer
Commentshotnewtop
Geocube101 (590)

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')
ArchieMaclean (821)

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

Pythonier (317)

@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!

19mahoneyb (0)

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

ArchieMaclean (821)

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

JSer (679)

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.