graph_builder_month.py 文件源码

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

项目:bitcointalk-sentiment 作者: DolphinBlockchainIntelligence 项目源码 文件源码
def main(argv):
    input_file = ''
    save_to = ''
    try:
        opts, args = getopt.getopt(argv, "hi:o:")
    except getopt.GetoptError:
        print('graph_builder.py -i <JSON inputfile> -o <output image>')
        sys.exit(2)
    for opt, arg in opts:
        if opt == '-h':
            print('graph_builder.py -i <JSON inputfile> -o <output image>')
            sys.exit()
        elif opt == '-i':
            input_file = arg
        elif opt == '-o':
            save_to = arg

    build_graph(input_file,save_to)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号