Module Command :: Class infile
[hide private]

Class infile

source code

object --+    
         |    
      pype --+
             |
            infile

Open a single named file and make it available to a shell-like pipeline. Example:

   infile('my.txt') | grep('the') > stdout
Instance Methods [hide private]
 
__init__(self, filename)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
__iter__(self) source code
 
write(self) source code

Inherited from pype: __gt__, __or__, __repr__, __str__

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, filename)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)