How to call C function in shared library?

Oleg Krivosheev kriol at wally.fnal.gov
Thu Mar 8 13:56:06 EST 2001


Hi, All

Linux 2.2, python 1.5.2

i already have shared library
with simple function which takes double
and returns double. Is it simple way 
to call it directly from Python?

Or some python encapsulation for dlopen/dlsym/dlclose ?

thank you

OK



More information about the Python-list mailing list