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