I have a 20gallon Long for my Kingsnake. He's never once escaped it. The back plastic clamps fit snugly into place and i rigged a twist-tie to go through the front hole where you would idealy put a lock on the lid.

No way he's getting out, ever, unless he somehow develops super-snake powers and tears through the mesh.