会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
yingzi__block
学如逆水行舟,不进则退
博客园
首页
新随笔
联系
订阅
管理
2019年8月21日
python 使用eval报错NameError: name ‘null’ is not defined
摘要: eval()函数十分强大,它可以把list,tuple,dict和string相互转化。 最近的项目中用到了eval,使用eval将string转化成list。其中有一组数据在转化时报错:NameError: name ‘null’ is not defined 经过排查,发现string数据中包含
阅读全文
posted @ 2019-08-21 10:40 yingzi__block
阅读(6868)
评论(0)
推荐(0)
编辑
公告