会员
周边
新闻
博问
闪存
赞助商
YouClaw
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
呆呆杏(annzi)
博客园
首页
新随笔
联系
订阅
管理
2020年6月5日
Python遇到的一些问题
摘要: 1. 定义不为空的列表时,如果使用append()会报警告 this list creation could be rewritten as a list literal 推荐定义时直接赋值 list1 = [1,2,3] # 这么用好 list1 = [1,2,3] # 这么用不好 list1.a
阅读全文
posted @ 2020-06-05 16:02 呆呆杏
阅读(1746)
评论(0)
推荐(0)
2020年6月3日
requests.post()方法中的data参数和json参数
摘要: 最近在做requests请求时遇到如下报错: {"code":"500","message":"JSON parse error: Cannot construct instance of `com.bang.erpapplication.domain.User` (although at leas
阅读全文
posted @ 2020-06-03 23:11 呆呆杏
阅读(4230)
评论(0)
推荐(1)
公告