Swap between python and repl in the same frame for now