Get Count to display in python window outside ArcMap?

301
2
03-12-2019 02:40 PM
NicholasCollins
New Contributor

I am trying to get the results of the Get Count arcpy tool to display in my .py file window when I run it.  Does anyone know a way to get the count (results) to display outside of ArcMap when running the this...?  

arcpy.GetCount_management(in_rows="C:/Projects/_Null_Count/Null_Count.gdb/TRANSMISSIONSTRUCTURE_MATERIAL_NULL")

Tags (1)
0 Kudos
2 Replies
JoshuaBixby
MVP Esteemed Contributor

If your question is about console output in general, I suggest reading Python Concepts/Console Output - Wikiversity 

0 Kudos
DuncanHornby
MVP Notable Contributor

Look at the help file! The code samples are an excellent source on how to interact with a tool in python. The second code sample shows you how to extract the count from the result object.

0 Kudos