Just interrupting their view does wonders for many snakes- & most of our pets aren't motivated to go around it. Best of all, there's nothing about a cardboard flat that a snake can hurt themselves on.
"Hook training" sounds flashy, but it's just not my choice, & I've tried various ways to disrupt their desire to strike. (Hint- choose a box lid or other object that's big/long enough so your hand is NOT within reach- especially for a snake w/ heat pits.)