auto_mal.py 文件源码

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

项目:auto_mal 作者: 0xhughes 项目源码 文件源码
def _get_hc_dirs():
    try:
        read_conf = open(str(os.path.expanduser('~'))+'/automal_conf.conf', 'r').readlines()
    except IOError:
        sys.exit("-- : --  Unable to access conf. file. Run and re-enter new conf. file paths.")
    for line in read_conf:
        if line.startswith('ipath'):
            input_path = str(line.split('=')[1]).strip()
        if line.startswith('opath'):
            output_path = str(line.split('=')[1]).strip()
    return(input_path, output_path)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号