Hi, newbie here. I've read on using the 'global' keyword being discouraged; then what is the preferred way to have something, for example a class containing program settings, accessible from everywhere, in a program spanning multiple files? -- http://mail.python.org/mailman/listinfo/python-list
- if not global -- then what? egasimus
- Re: if not global -- then what? MRAB
- Re: if not global -- then what? Gary Herron
- Re: if not global -- then what? Krister Svanlund
- Re: if not global -- then what? Steven D'Aprano
- Re: if not global -- then what? Jonathan Gardner
- Re: if not global -- then what? Steven D'Aprano
- Re: if not global -- then what? Jonathan Gardner