win32api.DeleteFile

DeleteFile(fileName)

Deletes the specified file.

Parameters

fileName : string/PyUnicode

File to delete.

Win32 API References

Search for DeleteFile at msdn, google or google groups.