知识在于积累........
1.https://www.tutorialspoint.com/python 英文资料
2.https://www.python.org/ python官网
https://docs.python.org/ python文献
3.https://pypi.python.org/pypi/pip pip下载网站
4.https://pypi.python.org/pypi/setuptools/0.6c11 easy_install更快
5.https://pypi.python.org/pypi/setuptools/ easy_install全包
6.https://www.jianshu.com/p/2804823923b4 selenium调用备忘
7.http://logbook.readthedocs.io/en/stable/ 日志模块新应用
8.https://logzero.readthedocs.io/en/latest/
9.http://selenium-release.storage.googleapis.com/index.html? Iedriver驱动器
10.http://docs.seleniumhq.org/download/
11.http://www.cnblogs.com/nirvana-daidai/p/4662375.html python安装
https://www.cnblogs.com/wxinyu/p/7691465.html postman 安装窍门
https://sourceforge.net/projects/pywin32/files/pywin32/ 安转pywin32
3.6链接:http://download.csdn.net/download/qq_34369025/9987403
3.5链接: http://download.csdn.net/download/qq_34369025/9987395
便于使用outlook邮箱 :
import win32com.client as win32
import xlrd
outlook = win32.Dispatch('outlook.application')
mail = outlook.CreateItem(0)
receivers = ['Yutao.A.Wang@alcatel-sbell.com.cn']
mail.To = receivers[0]
mail.Subject ='test1'
workbook = xlrd.open_workbook('E:\\kpi excel\\00_summary.xls')
mySheet = workbook.sheet_by_index(0)
nrows = mySheet.nrows
content = []
for i in range(nrows):
ss = mySheet.row_values(i)
content.append(ss)
print(content)
Truecontent =str(content)
mail.Body = Truecontent
mail.Attachments.Add('E:\\kpi excel\\00_summary.xls')
mail.Send()
12.https://www.cnblogs.com/daxiong2014/p/6571648.html