摘要: li 属性方法 ul { list-style-type: none; padding: 0; } li { display: block; margin: 0 10px; } display:block(块级元素 ) 会独占一行,多个block元素会各自新起一行。默认情况下,block元素宽度自动 阅读全文
posted @ 2022-12-15 17:24 木子墨墨 阅读(194) 评论(0) 推荐(0) 编辑
摘要: Logger https://www.cnblogs.com/qianyuliang/p/7234217.html https://www.jianshu.com/p/af2b7eae2407 阅读全文
posted @ 2022-12-15 17:24 木子墨墨 阅读(18) 评论(0) 推荐(0) 编辑
摘要: RPA:python 新功能介绍 - 声音提示 RPA10.0 RPA教程 python基础 艺赛旗 RPA10.0全新首发免费下载 点击下载 http://www.i-search.com.cn/index.html?from=line1 一般情况下,python 程序都是静默运行的,也就是说,除 阅读全文
posted @ 2022-12-15 17:23 木子墨墨 阅读(117) 评论(0) 推荐(0) 编辑
摘要: import iofrom PIL import Image import requests url_get = '[http://192.168.0.223:8787/xx(隐藏地址)](http://192.168.0.223:port/xx(隐藏地址))' #某个获取验证码接口 hearder 阅读全文
posted @ 2022-12-15 17:23 木子墨墨 阅读(86) 评论(0) 推荐(0) 编辑
摘要: import urllib3 import os #PIL图像处理标准库 from PIL import Image from io import BytesIO http = urllib3.PoolManager() response = http.request('GET','f.hiphot 阅读全文
posted @ 2022-12-15 17:22 木子墨墨 阅读(38) 评论(0) 推荐(0) 编辑
摘要: python使用遍历文件夹文件 一,遍历函数 os.walk(rootdir): #返回三个参数:分别返回1.父目录 2.所有文件夹名字(不含路径) 3.所有文件名字 二,使用 import os import os.path rootdir = “d:\data” # 指明被遍历的文件夹 for 阅读全文
posted @ 2022-12-15 17:22 木子墨墨 阅读(3793) 评论(0) 推荐(0) 编辑
摘要: python VENV 环境 requirements.txt的生成、使用 python项目 requirements.txt 文件,记录所有依赖包及其精确的版本号。用于新环境部署。 在虚拟环境中pip生成命令(正常环境类似): (venv) $ pip freeze >requirements.t 阅读全文
posted @ 2022-12-15 17:21 木子墨墨 阅读(346) 评论(0) 推荐(0) 编辑
摘要: flask 跨域支持 flask_cors 库添加 from flask_cors import CORS app = Flask(__name__) CORS(app) # 跨域支持# def after_request(resp): resp.headers['Access-Control-Al 阅读全文
posted @ 2022-12-15 17:10 木子墨墨 阅读(575) 评论(0) 推荐(0) 编辑
摘要: wc -l 返回当前查询结果多少条数据 grep -ps wc -l 阅读全文
posted @ 2022-12-15 17:00 木子墨墨 阅读(16) 评论(0) 推荐(0) 编辑
摘要: netstat查看端口 netstat -tunlp 用于显示 tcp,udp 的端口和进程等相关情况。 netstat 查看端口占用语法格式: netstat -tunlp | grep 端口号 -t (tcp) 仅显示tcp相关选项 -u (udp)仅显示udp相关选项 -n 拒绝显示别名,能显 阅读全文
posted @ 2022-12-15 16:58 木子墨墨 阅读(769) 评论(0) 推荐(0) 编辑