adds '.repl' to python connections as per #256