Skip to content

Instantly share code, notes, and snippets.

@samuelschumacher
Last active August 29, 2015 14:13
Show Gist options
  • Save samuelschumacher/3ddd8ae26da43c155c18 to your computer and use it in GitHub Desktop.
Save samuelschumacher/3ddd8ae26da43c155c18 to your computer and use it in GitHub Desktop.
For Brandi
import arcpy
arcpy.CheckOutExtension("spatial")
HC_DEM1 = "HC_DEM1"
p11 = "p11"
p11_dem = "C:\\Users\BRKA001\\DOCUMENTS\\bk_tests\\testrun.mdb\\p11_dem"
arcpy.gp.ExtractByMask_sa(HC_DEM1,p11,p11_dem)
import os
for i in os.listdir(os.getcwd()):
if i.endswith(".asm") or i.endswith(".py"):
print i
continue
else:
continue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment