Ollivander
Python: discover the type of an object
This seems a simple enough question: How can I discover the type of any given Python object? Suppose Python 2.7 (Python 3 is a different beast on this topic), and try implementing such function: def discover_type_of_object(obj): """ Args: obj: Any python object Returns: