I agree and disagree w/one of the previous poster's basically saying that snakes don't recognize their owners. Maybe something was different for his, but i've seen it first hand many times. The key really is to remember these are instinctual animals and to play upon this nature. They are never going to love you, but they will recognize scent, and to a degree, even recognize you visually IMO. You just have to remember how to keep from triggering certain responses, there are many different ways to do this. My burmese recognizes when it's feeding time and when it's not, and even to the point where he examines the food to make sure it is edible now. He used to lunge at any food w/in range, which could lead to me getting tagged. But nowadays, after a couple months of patience and conditioning, he is very calm and deliberate w/his eating. Nothing is fool proof b/c they are unpredictable animals, but you can cut your odds down with having an incident if you take precautions and are very aware of your snake's movements and behavior.
Also, some snakes can become very partial to their owners. To the point where they will not allow anyone else to handle them w/out incident. Some will see you as their protector, and if they percieve something as a threat, they will jump to you for safety, as if you are their mobile hidebox lol. I have a baby green anaconda, who is very sweet in nature, but does not like to be restrained at all by anyone beside myself. At the vet, if i'm not touching her, she flings around, twists, constricts, pee's, and everything else she can do to get away. They put her down on the table, and she immediately slithers straight to me and climbs up my arm or whatever is available. If i'm holding her, nobody needs to restrain her at all, she mellows out and let's the doc do his job. This doesn't always happen, it all depends on the animal and how you handle it. I handle my snakes pretty frequently, which does make a huge difference in temprement. Funny thing is though, the anaconda i handle the least b/c she's been sick, yet, never ill-tempered w/me.
Hope this helps
Jason