标签: python-3.x sys
运行代码时,出现此错误:
mage_folder=sys.argv[1] IndexError: list index out of range
我的代码如下:
import sys import os from PIL import Image image_folder=sys.argv[1] output_folder=sys.argv[2] print(image_folder, output_folder)