You should not use those. I thought of it too a long time ago. When you pull open an upper self, the bottom one it exposed which means three outcomes. Nothing happens, the ball python escapes, or he is attempting to escape and you close the top one and squish.
Also they are very flimsy. Any size snake can push through them without effort.