python报错提示语

python运行报错提示语

报错提示语 解释
SyntaxError: invalid syntax 无效的语法,语法错误
NameError: name 'xxxx' is not defined 没有定义变量
IndentationError: expected an indented block 代码缩进错误
KeyError: 'xxx' 在字典里面取一个不存在的值
IndexError: list index out of range 取值超出长度列表的长度
TypeError: argument of type 'int' is not iterable int类型参数不可迭代
TypeError:xxx takes no arguments

构造的某个函数失败

待更新...... 待更新......

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章