Re: [Tutor] wiped file

2016-07-14 Thread Steven D'Aprano
On Wed, Jul 13, 2016 at 11:06:28PM -0500, Noah Stickel wrote: > i open a python file in IDLE (python 3.5.1) and then my computer froze > after displaying an error 40 message (i have a DELL PC) and when i > restarted it i discovered that the file had been completely wiped clean. So > i still have th

Re: [Tutor] wiped file

2016-07-14 Thread Alan Gauld via Tutor
On 14/07/16 23:19, John Wong wrote: > ... if you use editors like VIM, a temporary file is always created. But with vim once you close the file it deletes the temporary copy. So unless you realize the problem before it gets deleted it won't help. But since you are using IDLE I don;t think that's e

Re: [Tutor] wiped file

2016-07-14 Thread John Wong
Alan made really good points, standard practice, however, on Linux and MacOSX, usually if you use editors like VIM, a temporary file is always created. For Windows, I am not sure 100%. Check your editor, your editor may have saved a cache file but marked as hidden file. For example, Notepad++ has t

Re: [Tutor] wiped file

2016-07-14 Thread Alan Gauld via Tutor
On 14/07/16 05:06, Noah Stickel wrote: > i open a python file in IDLE (python 3.5.1) and then my computer froze > after displaying an error 40 message (i have a DELL PC) and when i > restarted it i discovered that the file had been completely wiped clean. So > i still have the file but there is not

[Tutor] wiped file

2016-07-14 Thread Noah Stickel
i open a python file in IDLE (python 3.5.1) and then my computer froze after displaying an error 40 message (i have a DELL PC) and when i restarted it i discovered that the file had been completely wiped clean. So i still have the file but there is nothing in it. is there anyway i can restore the c