Cpp + Python: static data dynamic initialization in *nix shared lib?

sturlamolden sturlamolden at yahoo.no
Tue Jul 13 17:28:09 EDT 2010


On 13 Jul, 22:35, "Alf P. Steinbach /Usenet" <alf.p.steinbach
+use... at gmail.com> wrote:

> Yes, I know Boost.Python in more detail and I've heard of all the rest except
> SIP,


In my opinion, SIP is the easiest way of integrating C++ and Python.
Just ignore the PyQt stuff.

http://www.riverbankcomputing.co.uk/static/Docs/sip4/using.html#a-simple-c-example
http://www.riverbankcomputing.co.uk/software/sip/intro

(SIP 4 can also expose C libraries to Python, not just C++.)





More information about the Python-list mailing list