im.tostring returns raw image data but you need to pass whole image file data to MIMEImage, so use StringIO module to save the image to ...
確定! 回上一頁