Live2D

05 2020 档案

摘要:出现报错Other element would receive the click:的原因是; 当你selenium中click()点击事件时,所选中的标签被外部div吸收了,因此 解决办法就是进入里面进行点击操作 。driver.execute_script("arguments[0].click 阅读全文
posted @ 2020-05-14 15:17 鸟-叔 阅读(8044) 评论(0) 推荐(0)
摘要:当python出现这种UnicodeEncodeError: 'gbk' codec can't encode character '\xb2' in position 7: illegal multibyte sequence 报错的原因是Python中的print内置方法为“utf-8”,所以解 阅读全文
posted @ 2020-05-14 15:07 鸟-叔 阅读(2735) 评论(0) 推荐(0)
摘要:#coding=utf-8from win32com.client import gencachefrom win32com.client import constants, gencachedef createPdf(wordPath, pdfPath): """ word转pdf :param 阅读全文
posted @ 2020-05-07 18:56 鸟-叔 阅读(5255) 评论(0) 推荐(0)
摘要:#coding=utf-8from docx import Documentfrom docx.shared import Ptfrom docx.shared import Inchesfrom docx.oxml.ns import qnimport docx#打开文档from urllib3. 阅读全文
posted @ 2020-05-07 16:13 鸟-叔 阅读(6463) 评论(0) 推荐(0)