I\'ve been using python for a long time and have numerous scripts running all over my office. I use a few in particular scripts to back up then delete data. In these script
I'm not sure what you mean by os.delete (not listed on http://docs.python.org/library/os.html), but os.remove
and os.unlink
, will
just call the operating systems unlink functionality
, and delete the file from the disk.
Technically the OS / filesystem probably just marks the sectors as free, and removes the file entry from the directory, but that's up to the filesystem implementation.
it just deletes them from the harddrive