analyse_python.get_rows
convert.analyse_python.get_rows(src_bytes, start_row, end_row)Return (row_number, line_text) pairs for a given range of rows.
Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| src_bytes | bytes | UTF-8 encoded document source. | required |
| start_row | int | First row index to include. | required |
| end_row | int | Last row index to include (inclusive). | required |
Returns
| Name | Type | Description |
|---|---|---|
| list of (int, str) | A list of tuples containing the row index and corresponding line text for each row in the requested interval. |