'Set terminal status line: Data Terminal Ready'

def _update_dtr_state(self):

    if self._dtr_state:
        win32.EscapeCommFunction(self._port_handle, win32.SETDTR)
    else:
        win32.EscapeCommFunction(self._port_handle, win32.CLRDTR)
