[Python-Dev] Re: LOAD_NAME & classes
Guido van Rossum
Tue, 23 Apr 2002 17:45:04 -0400
> That's what I said earlier. But where is this documented?
I'm not sure that every possible handy coding tip deserves to be in
the documentation. There ought to be (and are!) plenty of other
introductory texts that can serve this purpose.
Also, in this particular case, the question ("how do I share data
between modules") and the answer ("put it in a module and import it")
seems pretty obvious once you have a decent grip of module semantics.
--Guido van Rossum (home page: http://www.python.org/~guido/)