'NoneType' object has no attribute '__getitem__' 报错 'NoneType' object has no attribute '__getitem__' 你 result 返回的是 None ,所以 result [0] 取不了值