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

浙公网安备 33010602011771号