0 purchases
acorepaths 0.4.1
Welcome to acore_paths Documentation
Azerothcore 魔兽世界服务器上的文件目录结构定义. 你可以直接用 import acore_paths.api as acore_paths 来 import 这些路径, 并在业务代码中引用这些路径. 每一个路径都是一个 pathlib.Path 对象, 并且都是绝对路径. 该项目可以作为一个 Python 库供其他项目使用, 从而避免了重复定义目录结构的麻烦, 避免了手写路径时可能出现的错误, 一次发明, 到处使用.
注:
本项目支持 Python3.8+, 没有任何依赖.
点击这里 查看所有重要路径的定义.
Usages
>>> import acore_paths.api as acore_paths
>>> acore_paths.dir_...
>>> acore_paths.path_...
Install
acore_paths is released on PyPI, so all you need is to:
$ pip install acore-paths
To upgrade to latest version:
$ pip install --upgrade acore-paths
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.