Python Forum
My file was empty at once - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: My file was empty at once (/thread-21075.html)



My file was empty at once - smnfouladi - Sep-12-2019

hi

i work by pytho3.6
I was writing code that turned off my laptop.When I turned it on, all my code was cleared and my file was empty.
Still my file is the same size but empty.
please help me Sad Sad Sad


RE: My file was empty at once - Axel_Erfurt - Sep-12-2019

you did not save the code to a file?


RE: My file was empty at once - woooee - Sep-12-2019

Are you looking the the right directory?
Quote:I was writing code that turned off my laptop
How is this possible? Show us your code that does this.


RE: My file was empty at once - smnfouladi - Sep-12-2019

(Sep-12-2019, 09:29 PM)Axel_Erfurt Wrote: you did not save the code to a file?

i save file before.i am completing my code

(Sep-12-2019, 09:29 PM)woooee Wrote: Are you looking the the right directory?
Quote:I was writing code that turned off my laptop
How is this possible? Show us your code that does this.
my file is empty.after shut down my laptop my file is empty


RE: My file was empty at once - smnfouladi - Sep-13-2019

(Sep-12-2019, 09:11 PM)smnfouladi Wrote: hi i work by pytho3.6 I was writing code that turned off my laptop.When I turned it on, all my code was cleared and my file was empty. Still my file is the same size but empty. please help me Sad Sad Sad

this problem solved.in my computer save a backup file by .pyc format and i convert it to .py by online site.
https://python-decompiler.com/