I have a file geodatabase from esri (gdb) and I would like to extract or export all domains with all values into a xls sheet. I don't know if this is possible. My python knowledge is dumbed. I would be really happy if somebody could help me.
Thank you for your answer, I tried it, but it gave me an error back.
ValueError Tracebck (most recent call last) In [2]: Line 13: worksheet.cell(target_row + idx, target_column).value = domain
File C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib\site-packages\openpyxl\cell\cell.py, in value: Line 215: self._bind_value(value)
File C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib\site-packages\openpyxl\cell\cell.py, in _bind_value: Line 184: raise ValueError("Cannot convert {0!r} to Excel".format(value))
ValueError: Cannot convert <Workspace Domain object object at 0x000002782AC64C90> to Excel