从python包中读取资源
importlib_resources的Python项目详细描述
importlib_resources是python 3.7标准库的后台端口 importlib.resources python 2.7和3.4到3.6的模块。python 3.7及更高版本的用户 应该使用标准库模块,因为对于这些版本, importlib_resources只委托给该模块。
这个模块的主要目标是用 python的stdlib中依赖于定义良好的api的解决方案。这使得 读取包中包含的资源更容易,更稳定和一致 语义学。
请注意,如果要pip install importlib_resources,则需要pip 10。
项目详细信息
- Project home: https://gitlab.com/python-devs/importlib_resources
- Report bugs at: https://gitlab.com/python-devs/importlib_resources/issues
- Code hosting: https://gitlab.com/python-devs/importlib_resources.git
- Documentation: http://importlib_resources.readthedocs.io/