[Tutor] Linking with C programs

Gabriel Farrell gsf at panix.com
Tue Sep 27 17:30:59 CEST 2005


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 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,
> >
> > 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
> >
> > _______________________________________________
> > Tutor maillist  -  Tutor at python.org
> > http://mail.python.org/mailman/listinfo/tutor
> 
> -- 
> Eric Walker
> EDA/CAD Engineer
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> http://mail.python.org/mailman/listinfo/tutor
> 


More information about the Tutor mailing list