adding python-mode interface