2010/12/27 Mico Siahaan <[email protected]>:
> import ctypes
> ctypes.windll.kernel32.DeleteFileA("E:\deleteme.txt")

It should be r"E:\deleteme.txt" or "E:\\deleteme.txt"

-- 
Shun-ichi GOTO
_______________________________________________
python-win32 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to