Skip to content

Instantly share code, notes, and snippets.

@dmdavis
Created March 5, 2012 16:59
Show Gist options
  • Save dmdavis/1979277 to your computer and use it in GitHub Desktop.
Save dmdavis/1979277 to your computer and use it in GitHub Desktop.
Namespaced __init__.py
from pkgutil import extend_path
__base_path__ = __path__
__path__ = extend_path(__path__, __name__)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment