Jay, I am not sure what it is but I don't dare to check it out. I just hope that it will go away now that I disturb its space a bit.
Larry, my husband said that there may be rodents there that attract the snakes. I have not seen any mice running around but I don't check in the compost pile often. I just pile green stuffs on the pile. I too hope the snake will leave on its own too.