control autocmd when filetype is python