摘要: markdownkeynote 阅读全文
posted @ 2018-11-01 11:39 时尚民工 阅读(183) 评论(0) 推荐(0) 编辑
摘要: pyecharts 阅读全文
posted @ 2018-11-01 00:32 时尚民工 阅读(119) 评论(0) 推荐(0) 编辑
摘要: # -*- coding: utf-8 -*- from selenium import webdriver from time import sleep from email.mime.text import MIMEText from email.header import Header from email.mime.multipart import MIMEMultipart from... 阅读全文
posted @ 2018-09-19 22:07 时尚民工 阅读(119) 评论(0) 推荐(0) 编辑
摘要: #!/usr/bin/python3 # -*- coding=utf-8 -*- import smtplib import time from email.mime.text import MIMEText from email.header import Header from email.mime.multipart import MIMEMultipart from email.mim... 阅读全文
posted @ 2018-09-18 11:59 时尚民工 阅读(179) 评论(0) 推荐(0) 编辑
摘要: #!/usr/bin/python3 # -*- coding=utf-8 -*- import smtplib from email.mime.text import MIMEText from email.header import Header from email.mime.multipart import MIMEMultipart from email.mime.applicatio... 阅读全文
posted @ 2018-09-18 11:57 时尚民工 阅读(148) 评论(0) 推荐(0) 编辑
摘要: #!/usr/bin/python3 # -*- coding=utf-8 -*- import smtplib from email.mime.text import MIMEText from email.header import Header #收件人和发件人 receiver = 'xxx' sender = 'xxx' #发件人邮箱的SMTP服务器(即sender的SMTP服... 阅读全文
posted @ 2018-09-18 11:55 时尚民工 阅读(133) 评论(0) 推荐(0) 编辑
摘要: 网上很多代码是过时,或者有错误的,自己调试好的发邮件代码如下,可以直接使用: #!/usr/bin/python3#coding: utf-8import smtplibfrom email.mime.text import MIMETextfrom email.header import Head 阅读全文
posted @ 2018-09-14 15:49 时尚民工 阅读(175) 评论(0) 推荐(0) 编辑
摘要: python 中的编码声明有两种使用广泛的: #coding: utf-8 # -*- coding=utf-8 -*- 但以自己的使用体验来看,#coding: utf-8很多时候还是会显示乱码或者莫名其妙的不正常, 一般代码出错很少会怀疑#coding: utf-8,这也是大量调试的出来的认识, 阅读全文
posted @ 2018-09-14 15:46 时尚民工 阅读(5261) 评论(0) 推荐(0) 编辑
摘要: 1 # -*- coding: utf-8 -*- 2 3 #auther tonyxiao 4 import xlrd 5 6 workbook = xlrd.open_workbook('D:/Desktop/workload.xls') # 打开excel数据表 7 SheetList = workbook.sheet_names() # 读取电子表到列表 8 Shee... 阅读全文
posted @ 2018-07-07 14:04 时尚民工 阅读(160) 评论(0) 推荐(0) 编辑
摘要: # -*- coding: utf-8 -*- #auther tonyxiao import xlrd workbook = xlrd.open_workbook('D:/Desktop/workload.xls') # 打开excel数据表 SheetList = workbook.sheet_ 阅读全文
posted @ 2018-07-07 14:01 时尚民工 阅读(124) 评论(0) 推荐(0) 编辑