摘要:
1. getopt模块:getopt模块用于抽出命令行选项和参数,也就是sys.argv。命令行选项使得程序的参数更加灵活。支持短选项模式和长选项模式。1) 主要函数:getopt(args, shortopts, longopts = [])参数:=====- args 通常是: sys.argv... 阅读全文
posted @ 2015-01-04 17:43
BeStrongerAndInsist
阅读(1185)
评论(0)
推荐(0)
浙公网安备 33010602011771号