https://github.com/askbot/python-import-utils
Utility functions for simple programmatic module importing in Python.
https://github.com/askbot/python-import-utils
Last synced: about 1 year ago
JSON representation
Utility functions for simple programmatic module importing in Python.
- Host: GitHub
- URL: https://github.com/askbot/python-import-utils
- Owner: ASKBOT
- License: bsd-2-clause
- Created: 2011-08-29T06:00:46.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2011-08-29T06:07:08.000Z (over 14 years ago)
- Last Synced: 2024-12-24T12:47:49.799Z (over 1 year ago)
- Language: Python
- Homepage: http://askbot.org
- Size: 92.8 KB
- Stars: 2
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
Utility functions for loading modules,
supporting programmatic imports of types::
>>>from import_utils import import_module_from, import_module
>>>import x as mod_x
>>>mod_x = import_module('x')
>>>
>>>import x.y as mod_xy
>>>mod_xy = import_module('x.y')
>>>
>>>from x.y import z
>>>z = import_module_from('x.y.z')