I can some link on decorator that i think is good.
David Beazley Don't Repeat Yourself—Introducing Decorators | Decorators with Arguments.
SO Decorator Basics.
Primer on Python Decorators
this has nothing to do with you original question about command line parsing.
David Beazley Don't Repeat Yourself—Introducing Decorators | Decorators with Arguments.
SO Decorator Basics.
Primer on Python Decorators
Skaperen Wrote:do we need to do this in a new thread?Yes if you have question about decorators make a new Thread,
this has nothing to do with you original question about command line parsing.