How to depress the output of an external module ?
fdu.xiaojf at gmail.com
fdu.xiaojf at gmail.com
Tue Dec 26 02:49:10 EST 2006
Hi,
I'm writing a program which imports an external module writing in C and
calls a function provided by the module to do my job. But the method
produces
a lot of output to the stdout, and this consumes most of the running time.
My question is, is there a way to depress the output produced by the
function and hence make my program run faster? It's too complicated for me
to modify the source code and recompile the external module.
Any hints will be greatly appreciated.
Regards,
xiaojf
More information about the Python-list
mailing list