编程语言
首页 > 编程语言> > python常见的错误

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”

标签:object,错误,no,python,常见,---,split,AttributeError,Rectangle
来源: https://www.cnblogs.com/caiyongjiesmile/p/13925406.html