I accidently deleted my file and now I can't bring it back

Question: I accidently deleted my file

Current behavior:

Desired behavior

Repl link:

code snippet

Hi @mackenziedel921 , welcome to the forums!
You can just create a file with the same name, and the code will be restored.
If you deleted main.py, create a file called main.py again and the code will be restored.
Hope this helps!

3 Likes