PictureOfText icon indicating copy to clipboard operation
PictureOfText copied to clipboard

error

Open iamyx123 opened this issue 3 years ago • 2 comments

imgSrc = Image.open(sys.argv[1])                        # 打开源图像

IndexError: list index out of range

iamyx123 avatar Aug 13 '21 13:08 iamyx123

使用命令行参数,而非直接运行,详情见视频,或者可以自己修改为 imgSrc = Image.open("文件路径")

InkEcau avatar Aug 13 '21 13:08 InkEcau

这个文件路径双引号前边应该加上r或者把文件路径中的""换成“/”.

a2580vb avatar Aug 14 '21 10:08 a2580vb