Inter-module globals
Jorge Godoy
godoy at ieee.org
Thu Mar 9 07:31:45 EST 2006
Anton81 <forum at anton.e4ward.com> writes:
> I want to use globals that are immediately visible in all modules. My
> attempts to use "global" haven't worked. Suggestions?
Use a module and a class variables for that. Import your module and
read/update class variables as you need them.
--
Jorge Godoy <godoy at ieee.org>
"Quidquid latine dictum sit, altum sonatur."
- Qualquer coisa dita em latim soa profundo.
- Anything said in Latin sounds smart.
More information about the Python-list
mailing list