ctypes list library

Diez B. Roggisch deets at nospam.web.de
Mon Jun 22 08:29:58 EDT 2009


luca72 wrote:

> Can you tell me how load a list of library

from ctypes.util import find_library
from ctypes import CDLL

for name in list_of_libraries:
    lib = CDLL(find_library(name))

Do you actually read the documentation of ctypes? Or python, for that
matter?

Diez



More information about the Python-list mailing list