[python-win32] Using ctypes

2010-12-26 Thread Mico Siahaan
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_siah...@yahoo.com |

Re: [python-win32] Using ctypes - solved

2010-12-26 Thread Mico Siahaan
Dear all, It was solved. It was because when I created the file using windows explorer New Text Document typed deleteme.txt as name, so actually the filename was deleteme.txt.txt. Regards, --- Mico | mico_siah...@yahoo.com | @bangmico -Original Message- From: Mico Siahaan mico_siah

[python-win32] Tutorial Developing GUI using python-win32

2010-05-08 Thread Mico Siahaan
Hi all, are there any tutorials in developing GUI using python-win32? rgds, Mico ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32