Seconding what others have said about only bathing when necessary and it being safe as long as you do it correctly.
If you do have to bathe your snake, here are some tips to make it more comfortable for them:
- Put a small object like a rock into the tub with him or her so that they have something to hang onto - many snakes feel safer when they can wrap their tail around something so they aren't completely losing traction. It shouldn't be big that they can put their whole body on top of it and get out of the water of course.
- Temp gun the water before putting the snake in, aim for the mid to high 80s and replace with warm water when it cools down to around 80F