We live in a farm area and have snakes come into our outside buildings all during the summer,
make sure the snakes are out and then around the perimeter on the outside of your house spread sulfur powder. One application should get you through the summer. They hate it and will not cross over it. You can get it at any lawn and garden shop. Hope this helps.