写会百科网
  •  首页
  •  百科大全
  •  文学
  •  登录
  1. 标签
  2. 解决TypeError x27NoneTypex27 objec
  • 解决TypeError: 'NoneType' object is not subscriptable

    1.捕获异常的方式try:img_list = img_list["name"]except:img_list = ""2.对象进行判断if img_list:img_list = img_li
    解决TypeError x27NoneTypex27 object is not subscriptable
    admin1月前
    220
CopyRight © 2022 All Rights Reserved 豫ICP备2022006366号-11
Processed: 0.025, SQL: 9