On 4/6/2010 8:17 AM anjali nair said...
Hi,,,
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?
Looks like that's a command line tool -- you probably do want to use
subprocess. Show us what didn't work...
Emile
_______________________________________________
Tutor maillist - [email protected]
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor