Calling C libraries from a Python script

Thomas Heller theller at python.net
Sat Apr 5 18:35:00 CEST 2003


joshua at goodish.org (Joshua Goodlett) writes:

> I'm trying to find examples of calling C library functions from within
> a Python script.  Any advice or pointers on where to look for examples
> would be appreciated.

If the C library is a dll, you could use ctypes.

Thomas




More information about the Python-list mailing list