When Python is processing an or statement, does it calculate all statements, and then check if they are true, or does it process it in a particular order, e.g. from left to right.
For example:
if condition1 == True or process_intensive_calculation(variables) == True:
run_commands()
Will Python stop if the first condition is True (i.e and only run the second if it is not True), or calculate both terms before determining whether the condition is met.