A global or module-level variable?

Gabriel Genellina gagsl-py2 at yahoo.com.ar
Wed Jan 23 16:27:39 EST 2008


En Wed, 23 Jan 2008 11:58:05 -0200, Bret <bret.wortman at gmail.com> escribió:

> On Jan 22, 1:00 pm, Paul Rubin <http://phr...@NOSPAM.invalid> wrote:
>
>> If you have to do it that way, use:
>
> Is there a better way?  A more Pythonic way?

It's simple, clear and works fine, why make it more complicated?
Unless you have additional requirements, like a multithreaded program.

-- 
Gabriel Genellina




More information about the Python-list mailing list