Methods vs attributes

I see both of them can be called using dot notation, so my question is: can a method be called attribute too?
What’s the difference between the two of them?

They’re both referred to as attributes, here’s a useful section of the docs that separates “data attributes” and “methods”-
https://docs.python.org/3/tutorial/classes.html#instance-objects

2 Likes