Library functions

Grant Edwards grante at
Mon Oct 10 21:53:26 CEST 2005

On 2005-10-10, Tuvas <brp13 at> wrote:

> I am writing a program that mimics a program written in C, but using
> Python-supiorior techniques. The C program calles a library function,
> non-open source, I only know that it sends it a command
> LINUX_CAN_Open() as for a few others as well.

I've successfully used the ctypes module to call Windows DLLs
(coincidentally it's to send/receive CAN messanges).  According
to the ctypes docs, you can use it to call functions in Linux
libraries as well.

Grant Edwards                   grante             Yow!  Now I can join WEIGHT
                                  at               WATCHERS!

More information about the Python-list mailing list