title: How to get the full namespace of a module after its imported in python
body: <pre><code>from foo.bar import bar
  
  print(get_namespace(bar))
  </code></pre>
  
  <p>I want the above code snippet to print the "foo.bar.bar"</p>
  
  <p>How to do it in python3 ?</p>