testing C code with python

Ruben Charles rubencharles at gmail.com
Fri Nov 11 08:34:27 EST 2005


On 11/10/05, Peter Hansen <peter at engcorp.com> wrote:
> Bilgehan.Balban at gmail.com wrote:
> > A simple question - Is it common/good practice to test C code using
> > Python? For example one could wrap individual C functions, and test
> > each of them using python, maybe not for low-level things but at least
> > for algorithmic correctness. Anyone effectively doing this as common
> > practice?

Take a look at swig.org

There are some examples for testing C code y python and/or extend
python with C functions.



More information about the Python-list mailing list