RCPL Creating an actual REPL is difficult. That's why I created a RCPL: Read Compile Print Loop The original idea comes from https://people.eecs.berkeley.edu/~brock/blog/reple.php Installation pip install . Usage $ rcpl