Dear Shun-ichi,

I did replace "E:\deleteme.txt" to r"E:\deleteme.txt" or to "E:\\deleteme.txt" 
but still failed.

Thanks,
 
---
Mico | mico_siah...@yahoo.com | @bangmico

-----Original Message-----
From: Shun-ichi Goto <shunichi.g...@gmail.com>
Sender: python-win32-bounces+mico_siahaan=yahoo....@python.org
Date: Mon, 27 Dec 2010 10:51:13 
To: <python-win32@python.org>
Subject: Re: [python-win32] Using ctypes

2010/12/27 Mico Siahaan <mico_siah...@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
_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32


_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to