Re: Passing string from python programs to external programs

2009-05-26 Thread psykeedelik
On May 26, 9:16 pm, Jeff McNeil wrote: > On May 26, 2:12 pm, lone_eagle wrote: > > > Hi all, > > > On Linux, I do something like this > > > $ program_to_execute < input_file > > ... get some output ... > > > I have the content of the input_file as a string inside a python > > program and would li

Re: Passing string from python programs to external programs

2009-05-26 Thread Jeff McNeil
On May 26, 2:12 pm, lone_eagle wrote: > Hi all, > > On Linux, I do something like this > > $ program_to_execute < input_file > ... get some output ... > > I have the content of the input_file as a string inside a python > program and would like to pass this string to the external program > from in

Re: Passing string from python programs to external programs

2009-05-26 Thread CTO
On May 26, 2:12 pm, lone_eagle wrote: > Hi all, > > On Linux, I do something like this > > $ program_to_execute < input_file > ... get some output ... > > I have the content of the input_file as a string inside a python > program and would like to pass this string to the external program > from in

Passing string from python programs to external programs

2009-05-26 Thread lone_eagle
Hi all, On Linux, I do something like this $ program_to_execute < input_file ... get some output ... I have the content of the input_file as a string inside a python program and would like to pass this string to the external program from inside the python program and get back the programs output