摘要: python中 getopt 模块,是专门用来处理命令行参数的 getop标准格式: 函数getopt(args, shortopts, longopts = []) shortopts 是短参数 类似于这样:python test.py -h # 输出帮助信息 longopts 是长参数 类似于这 阅读全文
posted @ 2018-05-24 11:28 skychi 阅读(2258) 评论(1) 推荐(0) 编辑