I have a newby type question on how global variables work between
modules.
I have a module test2.py that defines a global variable as well as two
functions to operate on that variable. A script test1.py imports the
three names and prints out values of the global between operations, and
the resul
Thank you to both of you for your assistance.
Using the qualified 'test2.glbl' form of the variable name gives the
result I need. The concepts of binding and rebinding, as programming
concerns, are new to me; I will have to study that further.
Thank you again, and Merry Christmas.
David
--
h
The Python community would benefit from a moderated web-forum along
the lines of
perlmonks.org.
The Python community online now seems to have two major segments, the
c.l.p newsgroup (here),
and a large selection of blogs. C.l.p is unmoderated and often
hostile. The bloggers
self-moderate reason
On Mar 8, 12:14 pm, Duncan Booth wrote:
> You've totally missed the point. It isn't the size of the data you have
> today that matters, it's the size of data you could have in several years'
> time.
>
> Maybe today you've got 10 users each with 10 megabytes of data, but you're
> aspiring to becom