the global keyword:

Lawrence D’Oliveiro lawrencedo99 at
Sat Jun 11 23:15:03 EDT 2016

On Sunday, June 12, 2016 at 11:51:11 AM UTC+12, Random832 wrote:
> Importing a variable from a module copies its value into your own
> module's variable.

Every name in Python is a variable, and can be assigned to to change its value at any time.

More information about the Python-list mailing list