Hello everybody,
I'm new in this world of arcpy and I would like poder export all of layer of a gbd to an excel format, I tried with several this foro's scripts but I can't get the result, this is my script actual but not funcionate.
import arcpy
from arcpy import env
env.workspace = r" C:\Users\LAP77\Desktop\JR\Veg_Hidro_Final.gdb"
output_folder = of = r" C:\Users\LAP77\Desktop\JR\Veg_Hidro_Final\Excel"
for fc in arcpy.ListFeatureClasses("*"):
fc_name= of+ "\\"+fc+".xls"
print(fc_name)
arcpy.TableToExcel_conversion(fc,fc_name, "NAME", "CODE")