I am trying to write a python script which buffers a large number of features from a geodatabase (but not all) and then dissolves the newly created buffer shapefiles together. Currently I have only been able to achieve this by listing the specific locations of the newly created buffer shapefiles (which is OK for a couple of features but a nightmare with more). I am new to Python and unsure how to references too (or ideally make a list) of the newly produced buffer shapefiles without individually listing there locations. This is also further complicated by producing 3 different size buffers for each feature class. Here is the first bit of my script before I carry out the dissolve.
# imports arcpy and os
import arcpy, os
from arcpy import env
# sets the workspace to my gdb
arcpy.env.workspace = "C:/GIS Home/Mining Features (MATTHEW).gdb"
# Output workspace location is defined
output_workspace = "C:/GIS Home/project_1"
# list of features to buffer in gdb
fcList = ["Shaft_Metalliferous", "Quarry_Metalliferous"]
for featureClass in fcList:
arcpy.Buffer_analysis(featureClass, output_workspace + "/" + featureClass[:-4] + "_b250.shp", 250, "", "", "ALL")
arcpy.Buffer_analysis(featureClass, output_workspace + "/" + featureClass[:-4] + "_b500.shp", 500, "", "", "ALL")
arcpy.Buffer_analysis(featureClass, output_workspace + "/" + featureClass[:-4] + "_b750.shp", 750, "", "", "ALL")