I started using this:
http://www.liquidfence.com/snake-repellents.html
Smells awefull, but it’s worked so far. They show up around the house every so often. Nasty critters.
I live in New York City. Not too much of a snake problem here. Rats, roaches and pigeons, yes, but not snakes.