There are those who managed to house snakes as pets. I presume they have charms they use in taming them. Or they have means of removing the poisonous part of them, which makes them harmless the pet rearers.
they're wary animals who don't like being held, touched, petted, or passed around. It's stressful for them and puts them at risk of illness and injury, and because they don't whine or yelp, you may not realize that they're hurt.
Their pet seems loving them as well. They had build a certain owner-pet connection just like the regular domestic pet we have. If you love to have snake as a pet, then you will take advantage of the internet reading about do's and don'ts of having it as a pet. You learn to adjust to your pet if you have one.