[Tutor] Time to Use a Global Variable?

Rich Shepard rshepard at appl-ecosys.com
Thu Feb 9 05:06:02 CET 2006


On Wed, 8 Feb 2006, Kent Johnson wrote:

> OK. Suppose I have

   Sigh. I was going too fast and, of course, I got ahead of myself.

> To use this class, I have to instantiate it:
>   myDb = DB()

   Yes, that's all in the example's __main__ and I didn't put it in my
application. Will do so right away. Thank you for using a soft clue stick.

RIch

-- 
Richard B. Shepard, Ph.D.               |   Author of "Quantifying Environmental
Applied Ecosystem Services, Inc. (TM)   |  Impact Assessments Using Fuzzy Logic"
<http://www.appl-ecosys.com>     Voice: 503-667-4517         Fax: 503-667-8863


More information about the Tutor mailing list