fabfile.py 文件源码

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

项目:weixin-api-related 作者: linpingta 项目源码 文件源码
def scp_from_remote(*files):
    cur_dir = os.getcwd()
    for file in files:
        total_file_path = file.rsplit('/', 1)
        if len(total_file_path) > 1:
            file_path, file_name = total_file_path[0], total_file_path[1]
        else:
            file_path, file_name = '', total_file_path[0]
        get(os.path.join(base_dir, file), os.path.join(cur_dir, file_path))
    #[ get(os.path.join(base_dir, file), file) for file in files ]
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号