My snake, Rufus, perks up when I come into the room. If he's not hiding, he will actually come to the door and crawl right into my hands when I open it.
If I place him on a table or the floor and step away, he will turn and look at me.
If I hand him off to somebody else, he immediately starts squirming and trying to get back to me.
I carry him with me to the Local Pet Stores when buying cage supplies and food, and the folks that work at the stores all know him by name now and they love him. They all want to hold him and play with him when I walk in. But he can tell the difference between them and me, and he definitely prefers me.
I can place him around my neck and he will sit there perfectly calm all day if I was to let him.
He is very calm, friendly, and seems to like coming out of his cage. If he's hiding, I can tap on the cage door a few times and he will stick his head out and look at me.
Snakes are not stupid. They are capable of learning, they have a good sense of smell, taste and eye sight. They know who we are and they get to know us. And just like any other animal, if you are mean and mistreating to a dog or cat they will not like you. Same with a snake.
Rufus knows I am the one that gives him fresh water. He knows what the "Feeding Tongs" are. You can tell how he acts when he sees them. He knows what his Feeding Box is. His whole attitude changes when I place him in the box. He knows I am the one that feeds him weekly. And he knows I am the one that rubs him under his chin, which he seems to love, and will stretch his head out for more if I stop.
Some people think snakes are dumb animals, incapable of learning and only "Tolerant" of handling. Think what you want, but I can tell with Rufus that absolutely none of that is true.