python repl skeleton