On 2004-12-09, Brad Tilley <[EMAIL PROTECTED]> wrote:

> I just want to know the basics of using C and Python together
> when the need arises, that's all, I don't want to write a book
> about what exactly it is that I'm involved in.
>
> I'm going to take It's Me's advice and have a look at SWIG.

There's also the ctypes module that lets you load and call
library functions written in C (or anything else with C calling
conventions).  IMO, it's a bit easier to use than SWIG, since
you don't have to actually generate/install any python modules
to use it.

But, neither SWIG nor cypes has anything to do with executing a
_program_ written in C, which is what I thought you were asking
about... 

-- 
Grant Edwards                   grante             Yow!  I had pancake makeup
                                  at               for brunch!
                               visi.com            
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to