python常见的错误

1:IndentationError: expected an indented block (:需要一个缩进的块)

2:SyntaxError: invalid syntax (无效的语法)

3:AttributeError: 'builtin_function_or_method' object has no attribute 'split' (属性错误)  ---》 “内置函数”或“方法”对象没有属性“split”

4:AttributeError: 'Rectangle' object has no property 'normed'  ---》 “Rectangle”对象没有属性“norme”

上一篇:解决AttributeError: module ‘tensorflow‘ has no attribute ‘io‘


下一篇:AttributeError: module 'numpy' has no attribute 'array'