Re: python modules

看板FB_hackers作者時間18年前 (2007/07/24 11:02), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串3/4 (看更多)
mp> I copied libpmc.so and tryed 'import libpmc'. I have: mp> ImportError: dynamic module does not define init function (initlibpmc) mp> Are we really far from having a libpmc module ? You may want to browse the following articles in Python's documentation set: "Extending and Embedding the Python Interpreter" (tutorial) "Python/C API Reference Manual" There is an (experimental) Python wrapper for an early version of libpmc(3) here: //depot/user/jkoshy/projects/pmctools/py-libpmc/... However this code has not been kept in sync with libpmc(3). I'm waiting for libpmc to stabilize :). Regards, Koshy <jkoshy@freebsd.org> _______________________________________________ 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"
文章代碼(AID): #16fMlW00 (FB_hackers)
文章代碼(AID): #16fMlW00 (FB_hackers)