[Tutor] create a wrapper for a C program

anjali nair anjalinairm at gmail.com
Tue Apr 6 17:17:21 CEST 2010


I am new to python. My doubt is related to wrapping a C program with a
python script.. I am running Netperf for Network Performance Benchmarking.
The code is written in C and has an associated Makefile. I thought of
writing a Python script which should be able to run Netperf with the
associated arguments on executing it. Do I need to go for SWIG? I tried
invoking by using subprocess, but that did not work.

Can somebody help?

Anjali M
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20100406/cd86ce85/attachment.html>

More information about the Tutor mailing list