Jan-08-2020, 11:47 PM
(This post was last modified: Jan-08-2020, 11:47 PM by Gribouillis.)
When you type code in the REPL, each python statement is compiled into bytecode individually and this small bytecode is immediatly executed. Of course these statements can span multiple lines for example if you're writing a loop or a function definition.