python 获取命令行参数 函数 import sys print sys argv print len(sys argv) 参数个数 print sys argv[1] 第一个参数 print sys argv[2] Perl编程 2022-04-07 275 点赞 4 评论 416 浏览