How to use my dynamic link libraries in python??

Benjamin musiccomposition at gmail.com
Thu Apr 10 22:40:49 EDT 2008


On Apr 10, 9:21 pm, "郭勇军" <linha... at gmail.com> wrote:
> Hello:
>           My OS is Linux, I  compile my dynamic link libraries , and
> want to call the function of my dynamic library through python!
>           How can I realize the function? Please give me some advices! Thanks
You have several options. You could write a Python extension module to
bind the functions in dylib to the interpreter. You could also have a
look at the ctypes module.



More information about the Python-list mailing list