https://github.com/ztj1993/py-dir-import
目录下模块导入类,用于动态加载解析器
https://github.com/ztj1993/py-dir-import
Last synced: 4 months ago
JSON representation
目录下模块导入类,用于动态加载解析器
- Host: GitHub
- URL: https://github.com/ztj1993/py-dir-import
- Owner: ztj1993
- Created: 2020-12-29T04:33:10.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-01-03T08:27:20.000Z (about 5 years ago)
- Last Synced: 2025-02-08T03:51:11.564Z (11 months ago)
- Language: Python
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Python 目录模块加载
### 说明
目录下模块导入类,用于动态加载解析器。
## 安装
```
pip install dir-import
```
## 使用
```
from ZtjDirImport import DirImport
print(DirImport('routes').all())
```