Popular recipes tagged "meta:requires=company_inc.toolb" and "programs"http://code.activestate.com/recipes/tags/meta:requires=company_inc.toolb+programs/2008-01-10T06:03:03-08:00ActiveState Code RecipesImport of subpackages from different physical locations (Python)
2008-01-10T06:03:03-08:00Dirk Holtwickhttp://code.activestate.com/recipes/users/636691/http://code.activestate.com/recipes/542192-import-of-subpackages-from-different-physical-loca/
<p style="color: grey">
Python
recipe 542192
by <a href="/recipes/users/636691/">Dirk Holtwick</a>
(<a href="/recipes/tags/programs/">programs</a>).
</p>
<p>If you want do distribute different modules in separate packages but under the same top directory that may be a problem when importing those modules. Since Python 2.5 the "pkgutil", described in the Python documentation under chapter 29.3, solves this problem.</p>