摘要:
因为做查询操作时,需要设置为传入参数值才进行查询,于是判断条件是: status != null and status != '' 即mapper层的写法: <if test="status != null and status != ''">and status=#{status}</if> 但设 阅读全文
摘要:
1、读取文件夹下的所有文件,并过滤出.doc文件(因为python依赖包docx只能打开.docx文件,需要先过滤出.doc文件将其转为.docx) import os def list_files_doc(path): files_doc = [] for i, j, k in os.walk(p 阅读全文
摘要:
import requests from selenium import webdriver url="https://www.baidu.com/" ip="114.96.199.198" port = "4325" proxy={"http":"http://"+ip+":"+port} hea 阅读全文