要运行该程序,需要使用第三方库PIL(pillow),详情可见python的图像处理库Pillow安装与使用教程
This question is a result of the answers to this question that I just asked. It was claimed that this code is \"ugly\" because it initializes a variable to a value that will never be read: