title: Get fully qualified class name of an object in Python
body: <p>For logging purposes I want to retrieve the fully qualified class name of a Python object. (With fully qualified I mean the class name including the package and module name.)</p>
  
  <p>I know about <code>x.__class__.__name__</code>, but is there a simple method to get the package and module?</p>