environment/lib/python2.7/site-packages/IPython/external/pexpect/_pexpect.py
def send(self, s):

        """This sends a string to the child process. This returns the number of
        bytes written. If a log file was set then the data is also written to
        the log. """

        time.sleep(self.delaybeforesend)
        
        s2 = self._cast_buffer_type(s)
        if self.logfile is not None:
            self.logfile.write(s2)
            self.logfile.flush()
        if self.logfile_send is not None:
            self.logfile_send.write(s2)
            self.logfile_send.flush()
        c = os.write (self.child_fd, _cast_bytes(s, self.encoding))
        return c
def send(self, s):

        """This sends a string to the child process. This returns the number of
        bytes written. If a log file was set then the data is also written to
        the log. """

        time.sleep(self.delaybeforesend)
        
        s2 = self._cast_buffer_type(s)
        if self.logfile is not None:
            self.logfile.write(s2)
            self.logfile.flush()
        if self.logfile_send is not None:
            self.logfile_send.write(s2)
            self.logfile_send.flush()
        c = os.write (self.child_fd, _cast_bytes(s, self.encoding))
        return c
def send ( self , s ) : time . sleep ( self . delaybeforesend ) s2 = self . _cast_buffer_type ( s ) if self . logfile is not None : self . logfile . write ( s2 ) self . logfile . flush ( ) if self . logfile_send is not None : self . logfile_send . write ( s2 ) self . logfile_send . flush ( ) c = os . write ( self . child_fd , _cast_bytes ( s , self . encoding ) ) return c
This sends a string to the child process. This returns the number of
        bytes written. If a log file was set then the data is also written to
        the log.
This sends a string to the child process . This returns the number of bytes written . If a log file was set then the data is also written to the log .