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 | [email protected] | @bangmico
_______________________________________________
python-win32 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-win32
