会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
汁虫
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
6
7
8
9
10
11
12
13
14
···
22
下一页
2020年10月27日
019 python接口 报告 + 邮件
摘要: ''' 时间: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 火焰马
阅读(122)
评论(0)
推荐(0)
2020年10月26日
016 转义与非转义字符
摘要: ''' 时间: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 火焰马
阅读(461)
评论(0)
推荐(0)
2020年10月25日
018 python接口 不同方法传json,内容不同
摘要: /* 时间: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 火焰马
阅读(157)
评论(0)
推荐(0)
015 格式化输出
摘要: ### 格式化输出 #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 火焰马
阅读(78)
评论(0)
推荐(0)
2020年10月23日
搜索相同问题,中英文结果对比。
摘要: /* 时间:2020/10/23 目录: 一: 中文 二: 英文 */ 一: 中文 二: 英文
阅读全文
posted @ 2020-10-23 10:04 火焰马
阅读(141)
评论(0)
推荐(0)
017 python接口 常用参数
摘要: /* 时间:2020/10/23 功能:参数标记 目录: 一: 头部信息 二: 请求参数 三: 返回参数 */ 一: 头部信息 警告: import urllib3 urllib3.disable_warnings() # 忽略警告 二: 请求参数 请求: 1 get请求: requests.get
阅读全文
posted @ 2020-10-23 09:55 火焰马
阅读(294)
评论(0)
推荐(0)
2020年10月21日
016_v2 python接口 类型转换
摘要: /* 时间: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 火焰马
阅读(186)
评论(0)
推荐(0)
014_v2 python基础语法_dict
摘要: #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 火焰马
阅读(85)
评论(0)
推荐(0)
013_v2 python基础语法
摘要: # 数据类型 # 一般操作 #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 火焰马
阅读(115)
评论(0)
推荐(0)
2020年9月13日
009 identity 视图 分页
摘要: /* 时间: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 火焰马
阅读(173)
评论(0)
推荐(0)
上一页
1
···
6
7
8
9
10
11
12
13
14
···
22
下一页
公告