Re: running a C program with python script

2005-03-09 Thread Thomas Ganss
M.N.A.Smadi schrieb: 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 in addition to the other approaches: if you want only a few specific lines of c you

Re: running a C program with python script

2005-03-09 Thread Michael Hoffman
James Stroud wrote: module os the os.popen* commands. The subprocess module in Python 2.4 is generally a better and easier way to do this. -- Michael Hoffman -- http://mail.python.org/mailman/listinfo/python-list

Re: running a C program with python script

2005-03-08 Thread James Stroud
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.s

running a C program with python script

2005-03-08 Thread M.N.A.Smadi
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 -- http://mail.python.org/mailman/listinfo/python-list