what can i get from object.attribute? what does it do?

Thank you :)

It`s better that you make a simple class and post that code.
Then ask what you dont understand.

If you dont now how to make a class at all,read some tutorials or seek google.

i just don't know when i can use object.attribute?

At anytime, dinner... literally anytime.