Question: "load"ing a shared object in python
Simon Brunning
simon.brunning at gmail.com
Wed Jan 26 07:00:58 EST 2005
On Tue, 25 Jan 2005 23:19:01 +0200, Pro Grammer <a at b.c> wrote:
> Hello, all,
> I am not sure if this is the right place to ask, but could you kindly
> tell me how to "load" a shared object (like libx.so) into python, so
> that the methods in the .so can be used? That too, given that the shared
> object was written in c++, compiled with g++ ?
Will ctypes do the trick?
http://starship.python.net/crew/theller/ctypes/
--
Cheers,
Simon B,
simon at brunningonline.net,
http://www.brunningonline.net/simon/blog/
More information about the Python-list
mailing list