Recovering deleted files

2013-12-26 Thread George Tang
I am new to python and was trying to program with txt files, and tried to move the txt file to a new directory. i did not read very carefully about what shutil.move(src, dst) does and it deleted some of my files. How do i recover my lost files. plz help! --

Re: Recovering deleted files

2013-12-26 Thread Chris Angelico
On Thu, Dec 26, 2013 at 3:44 PM, George Tang geosx...@gmail.com wrote: I am new to python and was trying to program with txt files, and tried to move the txt file to a new directory. i did not read very carefully about what shutil.move(src, dst) does and it deleted some of my files. How do i

Re: Recovering deleted files

2013-12-26 Thread Steven D'Aprano
Dennis Lee Bieber wrote: If I read the documents properly, shutil.move() does not just blindly delete files (it does a copy/delete if crossing file systems, otherwise it just does a rename). What difference does that make? Regardless of whether you do a copy/delete or rename, whatever file

Re: Recovering deleted files

2013-12-26 Thread Rick Johnson
On Wednesday, December 25, 2013 10:44:39 PM UTC-6, George Tang wrote: I am new to python and was trying to program with txt files, and tried to move the txt file to a new directory. i did not read very carefully about what shutil.move(src, dst) does and it deleted some of my files. How do i