filesystem.py 文件源码

python
阅读 22 收藏 0 点赞 0 评论 0

项目:pandarus 作者: cmutel 项目源码 文件源码
def get_appdirs_path(subdir):
    """Get path for an ``appdirs`` directory, with subdirectory ``subdir``.

    Returns the full directory path."""
    dirpath = os.path.join(
        appdirs.user_data_dir("pandarus", "pandarus-cache"),
        subdir
    )
    if not os.path.isdir(dirpath):
        os.makedirs(dirpath)
    return os.path.abspath(dirpath)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号