Package gmisclib :: Module g_pipe :: Class pfd
[frames] | no frames]

Class pfd

source code


Pseudo-file descriptor. Just like a FD, except that it waits for the process at the end of the pipe to terminate when you close it.

Instance Methods
 
__init__(self, p)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
read(self) source code
 
readline(self) source code
 
readlines(self) source code
 
next(self) source code
 
__iter__(self) source code
 
flush(self) source code
 
xreadlines(self, sizehint=-1) source code
 
close(self) source code
 
__del__(self) source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables
  __doc__ = """Pseudo-file descriptor. Just like a FD, exc...
Properties

Inherited from object: __class__

Method Details

__init__(self, p)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

Class Variable Details

__doc__

Value:
"""Pseudo-file descriptor.  Just like a FD, except
		that it waits for the process at the end of the pipe
		to terminate when you close it.
		"""