python modules
Mathieu Prevot
mathieu.prevot at gmail.com
Fri Jul 13 19:12:35 UTC 2007
2007/7/13, Mathieu Prevot <mprevot at freebsd.org>:
> I learn that modules loaded with import fall into 4 general categories:
> - code written in Python (.py)
> - C or C++ extensions that have been compiled into shared libraries (or DLLs)
> - Packages containing collection of modules
> - Built-in modles writen in C and linked into the Python interpreter
>
> Why don't we use directly the libpmc library in C instead of rewritting
> things in python ?
I copied libpmc.so and tryed 'import libpmc'. I have:
ImportError: dynamic module does not define init function (initlibpmc)
Are we really far from having a libpmc module ?
Mathieu
More information about the freebsd-hackers
mailing list