摘要: /* 时间: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) 编辑