看板 FB_hackers 關於我們 聯絡資訊
2007/7/13, Mathieu Prevot <mprevot@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 _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"