摘要: // ==UserScript== // @name hook xxx // @namespace http://tampermonkey.net/ // @version 0.1 // @description try to take over the world! // @author You 阅读全文
posted @ 2024-09-06 19:12 愿风带走思绪 阅读(83) 评论(0) 推荐(0)
摘要: import requests from collections import Counter # 使用 Fiddler抓包工具获取请求头顺序 headers = { 'Host': 'match.yuanrenxue.cn', 'Connection': 'keep-alive', 'Pragma 阅读全文
posted @ 2024-09-06 15:58 愿风带走思绪 阅读(20) 评论(0) 推荐(0)
摘要: a = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k'] b = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] # zip函数需要传入迭代器,返回一个是zip对象,也是一个迭代器,内部的元素是元组形式 new_zip = 阅读全文
posted @ 2024-09-06 11:18 愿风带走思绪 阅读(15) 评论(0) 推荐(0)
摘要: import re # 1. findall() 匹配字符串中所有符合正则的字符串,并返回一个列表 result_list = re.findall(r"\d+", "我的手机号是13812345678,我的QQ号是456789123") print(result_list, type(result 阅读全文
posted @ 2024-09-06 10:20 愿风带走思绪 阅读(12) 评论(0) 推荐(0)