How do I get the name from a named tuple in python?,type(ham).__name__