Go into insert mode when switching to python repl