use a single python-mode-hook in emacs