(self, from_row, as_type=bytes)
return line
Get the contents of the logical line on the active page, as one bytes string.
Get the contents of the logical line on the active page, as one bytes string.
Get the contents of the logical line on the active page as one bytes string .
def get_logical_line(self, from_row, as_type=bytes):
        """Get the contents of the logical line on the active page, as one bytes string."""
        # find start and end of logical line
        start_row = self.find_start_of_line(from_row)
        stop_row = self.find_end_of_line(from_row)
        line = as_type().join(
            self.get_text(start_row, stop_row, pagenum=self._apagenum, as_type=bytes)
        )
        return line
def get_logical_line ( self , from_row , as_type = bytes ) : # find start and end of logical line start_row = self . find_start_of_line ( from_row ) stop_row = self . find_end_of_line ( from_row ) line = as_type ( ) . join ( self . get_text ( start_row , stop_row , pagenum = self . _apagenum , as_type = bytes ) ) return line