[python-win32] Using ctypes

Shun-ichi Goto shunichi.goto at gmail.com
Mon Dec 27 02:51:13 CET 2010


2010/12/27 Mico Siahaan <mico_siahaan at yahoo.com>:
> import ctypes
> ctypes.windll.kernel32.DeleteFileA("E:\deleteme.txt")

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

-- 
Shun-ichi GOTO


More information about the python-win32 mailing list