how to know object name at runtime in python code example Example: python get type class name type(x).__name__