摘要:
import MySQLdb connet=MySQLdb.connect( host='localhost', port='8808', user='amdin', password='****', db='db_name') #获取游标 cur=connet.cursor() cur.execu 阅读全文
摘要:
import rere.match(pat,string)re.compile()re.sub(pat,repl,string)re.findall(pat,text)一般字符:. 匹配任意除换行符"\n"外的字符\ 转义字符 举例: a\.c a.c a\\c a\c[...] 字符集 举例: a 阅读全文
摘要:
#code:utf-8 import smtplib from email.mime.text import MIMEText from email.mime.multipart import MIMEMultipart from email.header import Header smtpser 阅读全文