Windows Win32 API Interface?
Alan Gauld
alan.gauld at bt.com
Tue Apr 10 09:42:30 EDT 2001
Dry Ice wrote:
> One of the charms of Visual Basic is the ability to
> call the Win32 API with relative simplicity.
Thats a charm?! :-)
> Does Python offer this ability?
Unfortunately no.
You can achieve a lot using the built in os modules
and the winall package. In particular pythonwin
provides access to almost all of the MFC API which
in turn gives access to most of the Win32 API.
But...
most * most != all
You can of course create a C++ or VB or Delphi DLL
top expose the other bits of the API - there are web
pages for how to do that linked off python.org.
But that's hardly simple, and definitely not charming...
Alan G
More information about the Python-list
mailing list