获取python工程的根目录
def get_project_root() -> Path:
"""Get the project root directory"""
return Path(__file__).resolve().parent.parent
获取python工程的根目录
def get_project_root() -> Path:
"""Get the project root directory"""
return Path(__file__).resolve().parent.parent
2445
1515
4620

被折叠的 条评论
为什么被折叠?