title: Can I asynchronously delete a file in Python?
body: <p>I have a long running python script which creates and deletes temporary files.  I notice there is a non-trivial amount of time spent on file deletion, but the only purpose of deleting those files is to ensure that the program doesn't eventually fill up all the disk space during a long run.  Is there a cross platform mechanism in Python to aschyronously delete a file so the main thread can continue to work while the OS takes care of the file delete?</p>