Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

I am considering utilizing Python for creating an application. The purpose of this application is solely to interact with the Windows API. My question, therefore, is: Is PyWin32 mature and complete enough to be relied upon, or would I be better off doing this in C++? The reasons why I wanted to use Python are:

  1. Easier access to coders
  2. Easier to develop and maintain Python code than C++ code

I saw that we are currently on Build 242 (or something) of PyWin32, which gives me exactly no idea about the maturity. I can see that there has been releases since 2004, though, but that does not really say a lot either.

share|improve this question

closed as off-topic by gnat, GlenH7, MichaelT, Kilian Foth, jwenting Sep 22 at 9:20

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions asking us to recommend a tool, library or favorite off-site resource are off-topic for Programmers as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it." – GlenH7, MichaelT, jwenting
If this question can be reworded to fit the rules in the help center, please edit the question.

    
For what it's worth, you can see here that there have been changes during the last 7 days. So it seems still pretty active. I don't know about the stability. –  Loïc Wolff Jun 6 '11 at 12:17
    
If you're looking for Windows-only Python solution, you might want to take a look at IronPython, it's Python for the .Net virtual machine. So the Windows API bindings should also be there. –  Loïc Wolff Jun 6 '11 at 12:18
    
@Loïc Wolff. Thank you, but I cannot rely upon .Net. –  David Jun 6 '11 at 12:31

1 Answer 1

up vote 3 down vote accepted

So I used PyWin32 to do a lot of automation a couple years back. I found it to be complete and well written and maintained. I also found that is was more complete then any .Net mappings to the win32 api at that time.

share|improve this answer
    
Yes, pywin32 works great. –  codeape Jun 6 '11 at 15:10
    
After PyWin32 that lets you call Win32API or Dispatch based COM object, the natural would be to use comtypes starship.python.net/crew/theller/comtypes for custom interface COM object. Afterward, you may found the need to use an even more deeper integration to Windows call DLLs using ctypes starship.python.net/crew/theller/ctypes –  swdev Apr 18 at 23:03

Not the answer you're looking for? Browse other questions tagged or ask your own question.