On Tuesday 27 September 2005 14:49, Matt Williams wrote:
> Could someone explain how, in very general terms, one would use python
> to wrap some C libraries/ API.
>
> I ask because there are a few bits of C software that look quite
> interesting, and I know that Python can be used to wrap the C - b
Matt Williams wrote:
> Dear List,
>
> Could someone explain how, in very general terms, one would use python
> to wrap some C libraries/ API.
The "Extending and Embedding" document is the official doc:
http://docs.python.org/ext/ext.html
In addition to SWIG I have heard good things about SIP:
h
You can read some of what Guido has to say about Python and C at
http://python.org/doc/essays/omg-darpa-mcc-position.html
and see SWIG documentation (a few pertain to Python) at
http://www.swig.org/doc.html
gsf
On Tue, Sep 27, 2005 at 08:41:31AM -0600, Eric Walker wrote:
> There is a program cal
There is a program called swig. this generates python interfaces to external
C/C++ libraries. I never used it as I am a very new python programmer but I
took the Mark Lutz class and he pushes it.
Python Newbie
On Tuesday 27 September 2005 07:49 am, Matt Williams wrote:
> Dear List,
>
> Cou
Dear List,
Could someone explain how, in very general terms, one would use python
to wrap some C libraries/ API.
I ask because there are a few bits of C software that look quite
interesting, and I know that Python can be used to wrap the C - but how
does it work?
Thanks,
Matt