Oh, I understand the concern. You just have to use a substrate that isn't sharp.

I tried using cypress but stopped right away when I found it was all splintery. Even regular Kaytee Aspen has some sharp pieces...but then I found Harlan Teklad shredded aspen. The stuff ROCKS! Perfect for snakes.

But you do whatever works best for you and your snake.