import and shared global variables

Diez B. Roggisch deets at
Sat Mar 11 01:56:50 CET 2006

> has to be imported by others.  Would a module (defining glob 
> and imported by whoever needs it) be more pythonic?

I'd say yes.

> (I didn't want to do 
> that because I really want to resist the temptation of introducing 
> glob1, glob2, glob3...)

I miss seeing what that has to do with creating a special module.


More information about the Python-list mailing list