Hi,
I am learning to use ctypes and I want to use ctypes in Win 7 to do a simple task: delete a file.
I wrote:
import ctypes
ctypes.windll.kernel32.DeleteFileA("E:\deleteme.txt")
But it failed (returned bool value 0)
Please suggest what was wrong?
Regards,
---
Mico | mico_siahaan at yahoo.com | @bangmico