Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Jul 2007 02:22:30 +0000
From:      Joseph Koshy <jkoshy@FreeBSD.org>
To:        "Mathieu Prevot" <mathieu.prevot@gmail.com>
Cc:        Joseph Koshy <jkoshy@freebsd.org>, freebsd-hackers@freebsd.org
Subject:   Re: python modules
Message-ID:  <861wfbk9ll.wl%koshy@moria.unixconsulting.co.in>
In-Reply-To: <3e473cc60707131212u1e3b4552v2dfc5c10cfe8e533@mail.gmail.com>
References:  <3e473cc60707131205s1a2912c3p9895832de54e6b94@mail.gmail.com> <3e473cc60707131212u1e3b4552v2dfc5c10cfe8e533@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?861wfbk9ll.wl%koshy>