def get_range_coordinates(xl_range):
    row1 = xl_range.Row
    col1 = xl_range.Column
    row2 = row1 + xl_range.Rows.Count - 1
    col2 = col1 + xl_range.Columns.Count - 1
    return (row1, col1, row2, col2)
dataset/ETHPy150Open ZoomerAnalytics/xlwings/xlwings/_xlwindows.py/get_range_coordinates/original