I mistakenly deleted my main.py file is that possible to restore it?

Question:

Replit Profile: https://replit.com/@kruthiknitty143

Hi @kruthiknitty143 , welcome to the forums!
Yes, you can recover it. Simply create a new file called main.py, then use the file’s History (click on the button at the bottom) to go back by 1 and access your code.
Hope this helps!

5 Likes