随笔 - 148  文章 - 3  评论 - 2  阅读 - 11万
12 2022 档案
读后笔记 -- Java核心技术(第11版 卷 II ) Chapter1 Java 8 的流库
摘要:1.1 从迭代到流的操作 迭代:for, while 流:stream()。优点:1)代码易读;2)性能优化 var contents = new Files.readString(Paths.get("./gutenberg/alice30.txt")); // contents 是 String 阅读全文
posted @ 2022-12-23 16:17 bruce_he 阅读(58) 评论(0) 推荐(0) 编辑
(python)正则表达式
摘要:# -*- coding: utf-8 -*- import re def test_dot(): """ . => 匹配单个任意字符 """ str1 = "woodphogrammhootoohoingtesthoohhhkachhraghello\nworldtadhhtesttwhat1b2 阅读全文
posted @ 2022-12-13 20:16 bruce_he 阅读(148) 评论(0) 推荐(0) 编辑
读后笔记 -- Python 全栈测试开发 Chapter11:Python + Requests 实现接口测试
摘要:11.1 Requests 框架 11.1.1 requests 请求 1. reqeusts 库 安装 pip install requests 2. requests 库 GET 方法,参数通过 params 传入 import requests # get 请求 无参数 get_respons 阅读全文
posted @ 2022-12-09 23:13 bruce_he 阅读(94) 评论(0) 推荐(0) 编辑
(python)json 格式文件
摘要:Json 数据格式: python 的内置模块; json 格式数据声明只能有一层顶级层(字典格式,可以是任意对象,如字符串,列表等,但实际工作中一般为字典对象,) json 对象本质是一个字符串对象; """ json.load() : json 数据格式文件的读取 json.dump(): js 阅读全文
posted @ 2022-12-01 22:22 bruce_he 阅读(227) 评论(0) 推荐(0) 编辑

< 2025年2月 >
26 27 28 29 30 31 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 1
2 3 4 5 6 7 8

点击右上角即可分享
微信分享提示