Tag Info

Hot answers tagged


I found the solution and it was quite easy. The endless-loop occured because I added the same dataset again and again into the loop. I changed it to if arcpy.Describe(ds).IsArchived: result.extend([ds + "_H"]) and now it works.


I think the problem here is that you are treating the SearchCursor() like a geo-processing tool. Geo-processing tools can honour 1 or more environment settings (which you find out by looking at the help for the tool) and one such setting is workspace. Nowhere on the help page for SearchCursor() does it state that Workspace is an environment setting that it ...

Only top voted, non community-wiki answers of a minimum length are eligible