I've only encountered a few venomous snakes along trails before and was content with letting them pass before continuing on. Look up youtube videos of how people control snakes with hooks / tongs and watch their techniques.

I would never do this unless there was no other option, like the snake was stuck in a bathroom or in the middle of a campground. Most campgrounds in areas with high concentrations of snakes know what to do or who to call, sometimes however their solution is killing the snake. Im a big fan of if its not bothering me and i can keep a safe distance it will most likely try to move away from people.