.py file is corrupted and opens in gibberish

  python, python-3.x, visual-studio-code

My hard drive was formatted and I had a .py project that wasn’t backed up so I used Recuva/seagate to restore it but whenever I open it I get the following messageenter image description here

If I clicked on "Do you want to open it anyway?"

that’s what I get enter image description here

NOTEI tried changing the encoding but no results

any help please, it took me a month to write it

Source: Python Questions

LEAVE A COMMENT