使用python原生的方法实现发送email import smtplib from email.mime.text import MIMEText from email.mime.multipart import MIMEMultipart from email.mime.base import MIMEBase from email.utils import COMMASPACE from email import encoders import os # 发送账号信息 sender = '
javascript canvas 生成图片的方法 先生成base64格式的图片 然后ajax传到后台 写入服务器文件夹即可<pre><!DOCTYPE HTML><html> <body> <canvas id="myCanvas"> your browser does not support the canvas tag </canvas> <script type="text/javascri