2007/7/13, Mathieu Prevot <[EMAIL PROTECTED]>:
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
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"