摘要:
一、re 模块的使用过程 # 导入 re 模块 import re # 使用 match 方法进行匹配操作 # re.match() 能够匹配出以 xxx 开头的字符串 result = re.match(r'正则表达式', '被匹配的字符串') if result: # 如果上一步匹配到数据的话, 阅读全文
posted @ 2025-08-08 23:52
星火撩原
阅读(66)
评论(0)
推荐(0)
摘要:
安装 pip install requests Get/Post示例 发送Get请求 response = requests.get(url) 发送Post请求 response = requests.post(url) 求例 r = requests.get("https://www.baidu. 阅读全文
posted @ 2025-08-08 23:12
星火撩原
阅读(24)
评论(0)
推荐(0)

浙公网安备 33010602011771号