send2trash

Install via pip

send2trash(fileToBeSentToTrash)

Rather than permanently delete files, this function first sends contents to Recycle Bin or Trash first.

NOTE: If file does not already exist, then this function does not throw an error.