python命令行获取参数
import sys # python获取参数 input_file = sys.argv[1] output_file = sys.argv[2] print(input_file) print(output_file)
输出: