I have a large list of coded domains.
They are numbers like: 01.6530.01, 05.7991.08, 05.7991.01, 05.7991.06
The code will be the exact same as the description.
I've tried to make a list using:
FRClist = [01.6530.**01**, 05.7991.08, 05.7991.01, 05.7991.06]
but it gave me a syntax error on the 01 that is bolded.
So I tried to change all the values to a string, using:
FRCstr = str(01.6530.**01**, 05.7991.08, 05.7991.01, 05.7991.06)
but it still gave me a syntax error on the same bolded 01.
In the end I hope to put the list into this:
arcpy.AddCodedValueToDomain_management(GDBpath, "FRC", FRClist[x], FRClistp[x] )
I have quite a few domains which require a lot of coded values, so any help is appreciated.