python:实现重置照片大小 import os from PIL import Image def resize(path): im = Image.open(path) w,h = im.size if w