Python Flow Control For Scripting