the global keyword:

BartC bc at freeuk.com
Mon Jun 20 06:21:59 EDT 2016


On 19/06/2016 18:16, Joel Goldstick wrote:

> People who understand global variables generally avoid using them at
> all costs.

Then perhaps they don't understand that in Python, top-level functions, 
classes and imports are also globals.

-- 
Bartc



More information about the Python-list mailing list