Never tried this one myself but I've heard it works miracles:
Take a metal bowl that you can fit the bal python in, put it in the fridge for like 5 minutes so that it's pretty cool. Place over your ball python, then remove after about 30 seconds and snap away, they should be sitting nice and still.