parameters: (self, host = None, port = None)
docstring: Setup a stream connection.
          This connection will be used by the routines:
              read, readline, send, shutdown.
docstring_summary: Setup a stream connection.
          This connection will be used by the routines:
              read, readline, send, shutdown.
docstring_tokens: Setup a stream connection . This connection will be used by the routines : read readline send shutdown .
function: def open(self, host = None, port = None):
          """Setup a stream connection.
          This connection will be used by the routines:
              read, readline, send, shutdown.
          """
          self.host = None        # For compatibility with parent class
          self.port = None
          self.sock = None
          self.file = None
          self.process = subprocess.Popen(self.command,
              stdin=subprocess.PIPE, stdout=subprocess.PIPE,
              shell=True, close_fds=True)
          self.writefile = self.process.stdin
          self.readfile = self.process.stdout
function_tokens: def open ( self , host = None , port = None ) : self . host = None # For compatibility with parent class self . port = None self . sock = None self . file = None self . process = subprocess . Popen ( self . command , stdin = subprocess . PIPE , stdout = subprocess . PIPE , shell = True , close_fds = True ) self . writefile = self . process . stdin self . readfile = self . process . stdout