'SecureCookieSession' object has no attribute 'has_key'
来源:4-13 .实现验证码功能

Windy5
2018-04-04
AttributeError: 'SecureCookieSession' object has no attribute 'has_key'
写回答
2回答
-
慕莱坞2377110
2018-05-13
has_key方法在py2中是可以使用的,在py中删除了。
比如:
if dict.has_key(word):
改为:
if word in dict:
00 -
rustgopy
2018-04-18
同学,你好,报的错是SecureCookieSession这个对象没有has_key属性
012018-11-03
相似问题