摘要: sys import sys print(sys.argv) #输出 $ python test.py helo world ['test.py', 'helo', 'world'] #把执行脚本时传递的参数获取到了 阅读全文
posted @ 2018-11-08 15:05 云涛001 阅读(127) 评论(0) 推荐(0) 编辑