They're getting the child used to the snake,so when the child is older he wont be afraid of them. he's apparantly going to be a snake charmer. it's a relatively common practice.