Deleting secure files if program crashes

95 views Asked by At

I'm looking for way to delete secure files if a program were to crash in any way. Is there a way to do this in python?

I've been looking at the tempfile module to see if this were possible. Looking it over, I believe it is not suitable. I think it needs to explicitly close a file to delete it.

0

There are 0 answers