It will be executed iff the loop ended naturally. Most arg lists are just comma-separated lists of variables. When calling, can omit defaultable vars. No scoping corresponding to block structure as in C, Pascal, etc. A variable in a function is local iff it's assigned to and not explicitly declared global by a global x,y,z statement in the function.
Functions defined here are methods .
Variables defined here are really attributes . Raise with raise exception or raise exception,arg . The unqualified except catches all exceptions not already handled. The else is done if an exception wasn't raised. The finally is done whether or not one was.