I'm trying to use python to create a text file list of attributes from a shapefile. Specifically, the shapefile is of all the counties in a state, and I want to write a script that will output a text file containing a list of the counties by name, where each county name appears on a separate line. I'm realizing I'm really not so good at this coding stuff, so would someone be willing to give me a step-by-step of how to do this? Thanks!
If you are using ArcGIS 10.5, the Copy Rows built-in tool can export a feature class to a text file. For earlier versions, and including 10.5, there is Table to Table.
You can export the table to txt in arcmap