安装PIL pip3 install pillow 使用PIL from PIL import Image, ImageFont, ImageDraw image = Image.new('RGB', (250, 250), (255,255