Ask coding questions

← Back to all posts
File Deleted
CosmicBear

I had file1.py and file2.py. I renamed file2 to file1.py but now the original file1.py disappeared. How can I get it back?

Answered by ch1ck3n [earned 5 cycles]
View Answer
Voters
CosmicBear
Comments
hotnewtop
ch1ck3n
CosmicBear

@ch1ck3n ohhhh. I knew about that but I didn't realize the original code was still there.

IMayBeMe

Use the history of the repl as chicken pointed out 6 seconds before me.

ch1ck3n

@IMayBeMe imagine being 6 seconds late smh my head

cringe