We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
imgSrc = Image.open(sys.argv[1]) # 打开源图像
IndexError: list index out of range
The text was updated successfully, but these errors were encountered:
使用命令行参数,而非直接运行,详情见视频,或者可以自己修改为 imgSrc = Image.open("文件路径")
imgSrc = Image.open("文件路径")
Sorry, something went wrong.
这个文件路径双引号前边应该加上r或者把文件路径中的""换成“/”.
No branches or pull requests
IndexError: list index out of range
The text was updated successfully, but these errors were encountered: