title: package inheritance in python
body: <p>Is there a way to do package inheritance in python i.e. say Package A has modules mod1, mod2 and some other subpackages. Now Package B should inherit all the modules and subpackages from A such that it should be possible to do <code>import B.mod1</code>.</p>
  
  <p>I have gone through package inheritance section in the following link  <a href="http://peak.telecommunity.com/doc/src/peak/config/modules.html" rel="nofollow">http://peak.telecommunity.com/doc/src/peak/config/modules.html</a>, but was unable to <code>import peak.api</code>. I have also tried importing all the modules of the parent package in the <code>__init__</code> file of child package, but it did not help.</p>