code: def classname(ob):
      
      import inspect
      if inspect.isclass(ob):
          return '.'.join([ob.__module__, ob.__name__])
      else:
          return '.'.join([ob.__class__.__module__, ob.__class__.__name__])
docs: Get the object's class's name as package.module.Class