摘要: 需要使用sys和getopt 库 def arg(_,__): #接收命令行参数 import sys import getopt '''参数: _ :短参数str,列如:-f-g-p __:长参数list,列如:['file','get','post'] 返回示例:{'-g': 'aa', '-f 阅读全文
posted @ 2023-01-23 16:45 星姮十织 阅读(220) 评论(0) 推荐(0)