running a C program with python script

James Stroud jstroud at mbi.ucla.edu
Wed Mar 9 02:24:00 CET 2005


module os

the os.popen* commands.


On Tuesday 08 March 2005 05:18 pm, M.N.A.Smadi wrote:
> hi;
>
> how can i do the following:
> 1- run a C program from a python script
> 2- pass that C program an argument
> 3- Read the out of the program into a buffer that is local to the script
>
> thanks
> m.smadi

-- 
James Stroud, Ph.D.
UCLA-DOE Institute for Genomics and Proteomics
Box 951570
Los Angeles, CA 90095



More information about the Python-list mailing list