REPL
acronymKept in this browser · My desk
Stands for: read-eval-print loop
Read-eval-print loop: an interactive prompt that reads an expression or statement, runs it, prints the result and waits for the next; in Python, the interpreter started without a script.
Python's prompts are >>> and ... for continuation lines, and the value of an expression typed there is printed, so it works as a calculator with the whole standard library one import away. python -i script.py opens it after a script has run. Python 3.13 replaced it with a new shell based on PyPy's code, with multi-line editing, colour, F1 for help, F2 for history and F3 for a paste mode; setting PYTHON_BASIC_REPL brings back the old one.
Also known as: interactive interpreter, interactive shell, Python prompt