reply
How to write Python code with no globals
And a source other than you saying you should do it this way