You get extra credit for picking a movie with a snake character ("Esme" played by "Shirley Python").
I just remembered another one (so many good comedies!)-
"Bedazzled" 1967 with Dudley Moore & Peter Cook https://en.wikipedia.org/wiki/Bedazzled_(1967_film) Check it out!
Dudley Moore was also good in both "Foul Play" & "Arthur".