def send ( self , data ) : self . stdin . write ( data ) self . stdin . flush ( )
python send input to subprocess
Send data to the child process through .
def send(self, data):
        """
        Send data to the child process through.
        """
        self.stdin.write(data)
        self.stdin.flush()