O'Reilly logo

Python Programming On Win32 by Mark Hammond, Andy Robinson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Installation and Setup

Two packages are available from Sam Rushing’s site. CallDLL consists of a Python extension module, calldll.pyd that exposes a low-level API for loading modules and calling functions within them. The DynWin package builds on this to offer a much easier high-level API, and includes the GUI library mentioned previously. The package includes a key module, windll.py that provides a higher-level wrapper around CallDLL making it easy to use. In fact, only two files are needed for dynamic loading: calldll.pyd, and windll.py, both of which should be installed on the PythonPath. These are included with the examples for the chapter, which can be found at http://starship.python.net/crew/mhammond/ppw32/.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required