is to rid your property of the foodsources that the snakes are after.
Rodents are the prime candidates for attracting snakes to your abode. Keep your property inhospitable to rodents. That includes sealing a granary or feed room if you keep livestock so the rodents don't find a ready food supply.
I had a middle school science teacher (she introduced me to snakes in the first place) who grew up on a farm who talked about a "pet" rat snake that they kept in the granary. She talked about moving it off of the feed sacks every time she had to dip out feed for the chickens or whatever. A resident non-venomous snake can do a lot of rodent control for you. A resident kingsnake would do a lot of rodent control as well as take on venomous snakes.
Additionally, if you have pets, don't feed them outdoors. The redidue of their food is a good foodsource for rodents and bugs.
Don't put up a birdfeeder or a squirrel feeder. The grain dropped around them just acts as a rodent magnet.
If all else fails, you can always build an air-tight residence of concrete and steel, cut down all of the trees and pave every square inch of earth. That would be unattractive to snakes as well as rodents. Check your local building codes first.
That last paragraph was tongue-in-cheek. Truth be told, any U.S. citizen is more likely to fall victim to cardiovascular disease, cancer, stroke, drunk driving, HIV, hep-C, or homocide than to be killed or even bitten by a venomous snake (or all of the venomous critters on earth combined).
Time to stop the worry and get on with the enjoyment of living. Life is too short to live in fear.
B