Hot answers tagged arcpy
GetCount returns a Result object and not an integer or a string. To get a string you use the getOuput method of the result object and pull its first part. To see any other parts try switching the 0 for 1, 2, etc. If you need to turn that string into an integer then use an int() function. To learn more about the Result object and its getOutput method ...
Only top voted, non community-wiki answers of a minimum length are eligible