On 06/09/2012 17:58, Jerry Hill wrote:
On Thu, Sep 6, 2012 at 12:46 PM, Helpful person <rrl...@yahoo.com> wrote:
The reference might help if I could get Python to recognize the dll as
a module.
That's never going to happen. It's a DLL, not a python module. I
think the documentation lays that out pretty explicitly. Have you
experimented with the very first bit of example code in the
documentation? What do you get if you do the following at the
interactive interpreter?
from ctypes import *
print windll.<insert your dll name here, without the .dll extension>
Or this:
>>> import ctypes
>>> dll_path = ...
>>> libc = ctypes.CDLL(dll_path)
>>> dir(libc)
--
http://mail.python.org/mailman/listinfo/python-list