Access to Win API

Ladvánszky Károly lk at digicart.hu
Fri Sep 19 12:45:37 CEST 2003


Thanks for your help. I remember once I tried a Python cookbook sample code
that included ctypes but now 'import ctypes' does not work.
Should ctypes come together with the 2.3 installation?

Károly

"Gerhard Häring" <gh at ghaering.de> az alábbiakat írta a következo
hírüzenetben: mailman.1063964485.26108.python-list at python.org...
Ladvánszky Károly wrote:
> What is the best way to access Win API functions that are not present in
the
> various extension packages. Is writing a C extension the only solution?

You don't have to write a C extension, you can use ctypes instead.

-- Gerhard






More information about the Python-list mailing list