I am trying to put together a little python script to check for whether there is a selection. The dataset I have is not robust enough to have an definition query on it, so I want it to just check whether there is a selection. arcpy.GetCount_management does this, and when I use the Describe function it does this too, but whenever I don't have a selection it is giving me the total number of rows in the dataset. From what I've read in the literature, the Describe function at least should return a zero value, because none are selected. Can anyone tell me why I can never get a zero value from either of these tools?
This is the piece of code I've been playing with most recently
so when I have nothing selected, 0 out of 16 records - I get a return of 16, and I need for it to be 0. I'm not sure how to achieve this, given my very limited python knowledge.