It might look something like this then...workspace = r"C:\temp\test.gdb"
myFC = workspace + "\\my_fc"
domainList = []
fieldList = arcpy.ListFields(myFC)
for field in fieldList:
if field.domain != '' and field.domain not in domainList:
domainList.append(field.domain)
domainDict = {}
for domain in domainList:
domainTable = workspace + "\\domain_table_for_" + domain.replace(" ", "_") #replace any blanks with an underscore
arcpy.DomainToTable_management(workspace, domain, domainTable, "CODE", "DESCRIPTION") #assuming code and description are the names
searchRows = arcpy.SerachCursor(domainTable)
for row in searchRow:
domainDict[domain, searchRow.CODE] = searchRow.DESCRIPTION
del searchRow, searchRows
Then to rerieve the descriptions from the domainDict, the key is domain name and code value. For example:>>> print domainDict["BOAT_TYPE", 3] #access CODE = 3 from the 'BOAT_TYPE' domain'Melges 24'>>> print domainDict["BOAT_TYPE", 4] #access CODE = 4 from the 'BOAT_TYPE' domain'Laser 2'>>> print domainDict["BOAT_TYPE", 5] #access CODE = 5 from the 'BOAT_TYPE' domain'Catalina 30'