7.11. In functions do not directly access global variable
This video gives advice on function design. In particular it outlines why you should not directly access global variables from within a function. It also outlines some of the pitfalls of accessing global variables from inside a Python function.