win32file.DeleteFile

DeleteFile(fileName)

Deletes a file.

Parameters

fileName : PyUnicode

The filename to delete