I have already created a series of scripts to sort thru my GDB and produce infrastructure statistics. I have developed one script to run all of the scripts and export the results to a series of .TXT files:
import arcpy
import sys
import os.path
arcpy.env.transferDomains = True
orig = sys.stdout
with open(os.path.join("Z:\Operations\Maps and Records\Infrastructure Counts Stats\DATA EXPORT", "eJOINT_USE_INVENTORY.txt"), "wb") as f:
sys.stdout = f
try:
execfile("JOINT_USE_COUNTS_NEW.py", {})
finally:
sys.stdout = origThe issue I am having is when this exports the File GDB Table to a .TXT value, the domain code is exported. I need to have the domain description when the data is exported to the .TXT file. I have verified that the domain is assigned to the specific field.
Thank You