摘要: https://www.cnblogs.com/guigujun/p/6149770.html 阅读全文
posted @ 2021-08-16 16:25 Fricheer 阅读(18) 评论(0) 推荐(0)
摘要: 快速简单解决 1.C盘中(一般都在C盘中,不确定搜全盘)搜索 libmpg123-0.dll脚本文件2.将搜到的libmpg123-0.dll脚本文件复制到C:\Windows\System32与C:\Windows\SysWOW64中。3.重启pycharm 脚本文件地址C:\Users\admi 阅读全文
posted @ 2021-08-16 13:48 Fricheer 阅读(476) 评论(0) 推荐(0)
摘要: import timefrom datetime import datetimeimport pyttsx3import smtplibfrom email.mime.text import MIMETextfrom email.utils import formataddrfrom pydub i 阅读全文
posted @ 2021-08-16 11:23 Fricheer 阅读(143) 评论(1) 推荐(0)
摘要: 我们在使用python爬虫时,需要模拟发起网络请求,主要用到的库有requests库和python内置的urllib库,一般建议使用requests,它是对urllib的再次封装,它们使用的主要区别:requests可以直接构建常用的get和post请求并发起,urllib一般要先构建get或者po 阅读全文
posted @ 2021-04-08 17:13 Fricheer 阅读(864) 评论(0) 推荐(0)
摘要: python爬虫之 find_all 及 find 相关用法 https://blog.csdn.net/weixin_46049759/article/details/110263207 python | 史上最全的正则表达式 https://blog.csdn.net/weixin_409073 阅读全文
posted @ 2021-01-12 16:43 Fricheer 阅读(67) 评论(0) 推荐(0)
摘要: import unittestimport timefrom selenium import webdriverfrom ddt import data,ddt,unpack@ddtclass forTestTest(unittest.TestCase): # 因为是在函数内执行的浏览器操作,在函数 阅读全文
posted @ 2020-12-19 16:48 Fricheer 阅读(144) 评论(1) 推荐(0)
摘要: 阅读全文
posted @ 2020-12-19 16:12 Fricheer 阅读(33) 评论(0) 推荐(0)
摘要: import unittestimport timefrom selenium import webdriverfrom ddt import data,ddt,unpack@ddtclass forTestTest(unittest.TestCase): #类的初始化 # @classmethod 阅读全文
posted @ 2020-12-19 11:31 Fricheer 阅读(99) 评论(0) 推荐(0)
摘要: 四大组件: 1.test fixture: setUp(前置条件) ,tearDown(后置条件),用于初始化测试用例以及释放资源。 2.test case:测试用例,通过继承unittest,TestCase,来实现用例的继承,在Unittest中,测试用例都是通过test来识别的。 3.test 阅读全文
posted @ 2020-12-18 17:36 Fricheer 阅读(471) 评论(0) 推荐(0)
摘要: import unittestimport timefrom selenium import webdriverclass forTestTest(unittest.TestCase): #类的初始化 # @classmethod # def setUpClass(cls) -> None: # p 阅读全文
posted @ 2020-12-18 15:21 Fricheer 阅读(110) 评论(0) 推荐(0)