上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 22 下一页
摘要: ''' 时间:2020/10/27 功能:断言与报告 目录: 一: 目录 1 缩进目录 2 完整目录 二: 具体内容 1 case: test_qq_api.py 2 case: test_integer_arithmetic.py 3 run_all_case.py 三: 报告展示 四: 完整内容 阅读全文
posted @ 2020-10-27 13:44 火焰马 阅读(114) 评论(0) 推荐(0) 编辑
摘要: ''' 时间:2020/10/26 目录: 一: r"string" ''' #coding:utf-8 string = "test\t\t123" # 转义字符 : \t print(string, "\n") string = r"test\t\t123" # r : 防止转义 print(s 阅读全文
posted @ 2020-10-26 17:54 火焰马 阅读(448) 评论(0) 推荐(0) 编辑
摘要: /* 时间:2020/10/25 目录: 一: json=dict 二: data=json.dumps(dict) 三: 总结 */ # 传递方法 : json=dict r = requests.post(url, json=dict, verify = False) POST https:// 阅读全文
posted @ 2020-10-25 16:54 火焰马 阅读(149) 评论(0) 推荐(0) 编辑
摘要: ### 格式化输出 #coding:utf-8 # 方法一 b = 20 c = "张三" d = "李四" str = "My name is %s" %c print(str) str_two = "My name is %s, age %s" %(d, b) print(str_two) # 阅读全文
posted @ 2020-10-25 16:51 火焰马 阅读(76) 评论(0) 推荐(0) 编辑
摘要: /* 时间:2020/10/23 目录: 一: 中文 二: 英文 */ 一: 中文 二: 英文 阅读全文
posted @ 2020-10-23 10:04 火焰马 阅读(135) 评论(0) 推荐(0) 编辑
摘要: /* 时间:2020/10/23 功能:参数标记 目录: 一: 头部信息 二: 请求参数 三: 返回参数 */ 一: 头部信息 警告: import urllib3 urllib3.disable_warnings() # 忽略警告 二: 请求参数 请求: 1 get请求: requests.get 阅读全文
posted @ 2020-10-23 09:55 火焰马 阅读(280) 评论(0) 推荐(0) 编辑
摘要: /* 时间:2020/10/21 功能:类型转换 目录: 一: dict <-> json 二: dict <-> str 三: return 1 三种 2 json 四: 传参json */ 一: dict <-> json #coding:utf-8 import json dict = { " 阅读全文
posted @ 2020-10-21 23:08 火焰马 阅读(176) 评论(0) 推荐(0) 编辑
摘要: #coding:utf-8 dict = { "name" : "zhang_san", "age" : 24, "subject_list" : ("English", "Chinese", "Math"), "subject_content" : { 'English' : 88, "Chine 阅读全文
posted @ 2020-10-21 13:14 火焰马 阅读(77) 评论(0) 推荐(0) 编辑
摘要: # 数据类型 # 一般操作 #coding:utf-8 none = None # None print(none, type(none)) bool = False print(bool, type(bool)) int = 12 print(int, type(int)) float = 12. 阅读全文
posted @ 2020-10-21 13:02 火焰马 阅读(104) 评论(0) 推荐(0) 编辑
摘要: /* 时间:2020/09/13 功能: 一 identity 二 视图 三 分页 */ 一 identity -- identity create table student2 ( student_id int primary key, student_name nvarchar(200) not 阅读全文
posted @ 2020-09-13 14:09 火焰马 阅读(164) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 22 下一页