
May 29, 2016
8:37 p.m.
On Sun, May 29, 2016 at 1:49 PM Pavol Lisy <pavol.lisy@gmail.com> wrote:
from my_test import VAR, setter, getter
The more I understand python the more I see that I don't understand enough.
Seems like you expected the ``VAR`` in your __main__ module would be the same variable as the one in the ``my_test`` module Each module's globals are separate namespaces. ``from module import name`` is roughly equivalent to 3 lines: import module name = module.name del module