It all depends what snakes are in your area. If they aren’t aggressive and poisonous, then just pass through and don’t kill them. I believe you heard if you kill a snake, then it will turn out really bad eventually on your karma. I know, I sound a little bit superstitious, but I have real examples then people’s life turned into a complete nightmare right after killing a snake. In fact, there are many domestic snakes which live into the wilderness. Check them out on https://petsoid.com/5-great-beginner-pet-snakes/ and in case you come across them, simply let them go.