摘要: sys模块的功能介绍 1. sys的变量 argv 命令行参数 方法:sys.argv 返回值:list 例如:test1.py文件中有两句语句1.import sys 2.print(sys.argv) python test1.py 2 3 df >>> ['test1.py','2','3', 阅读全文
posted @ 2017-09-29 22:33 Python改变生活 阅读(8539) 评论(0) 推荐(1) 编辑