Extend file type

Fredrik Lundh fredrik at pythonware.com
Tue Sep 26 11:26:19 EDT 2006


abcd wrote:

> Any ideas what methods the stdout (and I guess stderr) of Popen objects
> from subprocess call?

the external process only sees OS-level file handles (the number you get 
from the fileno() method on your file objects), not Python objects.  no 
matter how you override things in your process, you cannot make your OS 
pretend that the other process is written in Python...

</F>




More information about the Python-list mailing list