GetType in Python

Hello, I am new to python, I have a question, when I place a wall or floor as input and in Python I indicate the gettype, it gives me the type, but if I put a column or an instance family as input, it gives me as error result.
How could I know the type of element of these families?

Is this what you mean?

If you want to use Dynamo or Revit methods in Python you need to load the appropriate modules. Try searching the forum for topics on how to use either in Python and you should get the information you need.

you’d need to use the GetTypeId() then get its element type method if you’re dealing with an instance.
See the sample screenshot.