http://code.activestate.com/recipes/576 ... decorator/
but am unsure on how to use it, and it hasn't worked so far, returning
Code: Select all
NameError: name 'label' is not definedCode: Select all
goto .doneand
Code: Select all
label .doneI also tried that goto April Fools joke, but it didn't work either. Please excuse my lack of knowledge of Python and good coding methods, first language was C++ which has the goto statement. Only say "DON'T USE GOTO" if you're giving a replacement method.
Thanks
Clix