utils.py 文件源码

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

项目:webfp-crawler-phantomjs 作者: pankajb64 项目源码 文件源码
def clone_dir_with_timestap(orig_dir_path):
    """Copy a folder into the same directory and append a timestamp."""
    new_dir = create_dir(append_timestamp(orig_dir_path))
    try:
        du.copy_tree(orig_dir_path, new_dir)
    except Exception, e:
        wl_log.error("Error while cloning the dir with timestamp" + str(e))
    finally:
        return new_dir
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号