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
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
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
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