laptop crashed now python script is corrupted

I was working on a python script in spyder and my laptop froze and I had to do a hard restart. When I restarted everything seemed fine except the script I was working on now has strange encoding e.g. what should be an import statement now looks like,

@ÐBÂ'Zrr¾"ÈÉαôí£YÛJOw#Ær   ¾mÄ|¦~Äì,:ë¸6

Is there a way to recover my script or is it lost? I am running linux mint 17 Qiana. thanks D


That's garbage not a weir encoded text file and clearly this is not a programming related question.

Need Your Help

How to check if an NSDocument has unsaved changes?

save nsdocument

I know how to tell NSDocument that there are new changes, with -(void)updateChangeCount:. But, I can't find a method changeCount or something like this to check if an NSDocument has unsaved change...