TypeError: %d format: a number is required, not str 对python脚本传参,传入的都是str类型,所以在程序里需要其他类型的参数时,需要对传入的参数进行类型转换,比如int(argv[1])