utils.py 文件源码

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

项目:py-tendermint 作者: davebryson 项目源码 文件源码
def home_dir(*paths):
    """
    Create a path to dirs/file in OS home dir
    Ex: home_dir('temp', 'ex.txt') is:
    ~/temp/ex.txt
    """
    home = str(Path.home())
    return os.path.join(home,*paths)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号