I am attempting to automate a workflow in python. If I execute the "split by attributes" tool in AGRGIS, the output is shapefiles (which is what I want). However, if I "copy as python snippet" from the results window and paste it into a python script...the output is dbf files. The output is being saved to a gdb. The output is only a table whether it is saved to a folder or gdb.
The python snippet:
arcpy.SplitByAttributes_analysis(Input_Table="contours", Target_Workspace="C:/temp/data.gdb", Split_Fields="CONTOUR")
Why doesn't arcpy generate shapefiles?