edit code and pp in python repl