Library functions

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


On 2005-10-10, Tuvas <brp13 at yahoo.com> 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!
                               visi.com            



More information about the Python-list mailing list