赞
踩
源代码
import PIL PIL.image.open('*.png')
报错 module ‘PIL’ has no attribute ‘image’ 改为如下的使用方式
from PIL import Image a=Image.open('*.png') a.show()