Hi all. I have got situation that I need make parameter injection into function and I want that parametet be a local variable of that function. eg. something like def decorator(): <code> @decorator def myfun(): a = 20
and in myfun i can use b wariable like that: b = "ok it's working" I try to use sample decorators from: http://www.python.org/moin/PythonDecoratorLibrary but unsuccesfully. Does anyone know hot to achieve this? Or is it possible? Thanks for any help -- http://mail.python.org/mailman/listinfo/python-list