Having trouble converting popen2 to subprocess

Daniel Klein danielkleinad at gmail.com
Sat Nov 18 09:34:43 EST 2006


Thanks /F, that was it.

Dan

On Sat, 18 Nov 2006 15:03:30 +0100, Fredrik Lundh
<fredrik at pythonware.com> wrote:

[snip]

>p.stdin is the *other* process' stdin.  if you want to read things it 
>prints, read from p.stdout instead.
>
>> print fin.readline()
>> fin.close()
>
></F>



More information about the Python-list mailing list