摘要: request与response 1.request:它有三部分组成: request: line request: headers request: body 可使用fiddle ,查看RAW,原始数据 GET https://i.cnblogs.com/api/posts/list?p=1&ci 阅读全文
posted @ 2022-02-24 01:49 note122 阅读(635) 评论(0) 推荐(0)
摘要: 我也不知道大家为什么都这样导入 # 一个人这样使用也罢了,几乎所有人都这样,我也跟随吧 import numpy as np arr = np.array([1, 2, 3, 4]) # 创建 print(arr) # [1 2 3 4] print(type(arr)) # <class 'num 阅读全文
posted @ 2022-01-24 13:47 note122 阅读(90) 评论(0) 推荐(0)
摘要: time模块,时间格式有三种: 1、timestamp 时间戳,时间戳是从1970年1月1日00:00:00开始按秒计算的偏移量(用于程序计算) 2、struct_time 时间元组,共有九个元素组。 3、format time 把时间格式化成字符串(方便我们看懂)。 下面将详细说明。 1.time 阅读全文
posted @ 2022-01-02 20:16 note122 阅读(172) 评论(0) 推荐(0)