Jun-15-2017, 09:18 AM
There is no "else with arguments" (never met any language with such a concept). What you have is if/elif/else if you want to perform several tests:
if condition1: ## code executed if condition1 is true elif condition2: ## code executed if condition1 is false and condition2 is true elif condition3: ## code executed if condition1 and condition2 are false and condition3 is true else: ## code executed when all conditions above are false
Unless noted otherwise, code in my posts should be understood as "coding suggestions", and its use may require more neurones than the two necessary for Ctrl-C/Ctrl-V.
Your one-stop place for all your GIMP needs: gimp-forum.net
Your one-stop place for all your GIMP needs: gimp-forum.net