摘要:
# -*- coding:utf-8 -*-import smtplibfrom email.mime.text import MIMETextclass sendmail: def __init__(self): self.mail_host="smtp.gmail.com" self.mail_... 阅读全文
摘要:
python标准库已包含对http的支持,通过很简单的办法就可以直接使用http代理服务器获取网页数据:import httplibhost,port = "192.168.131.54" , "8086" #http proxy server ip and porturl = "http://bl... 阅读全文