global variables in imported modules

vsoler vicente.soler at gmail.com
Sun May 16 18:45:54 EDT 2010


On 17 mayo, 00:38, James Mills <prolo... at shortcircuit.net.au> wrote:
> On Mon, May 17, 2010 at 8:26 AM, vsoler <vicente.so... at gmail.com> wrote:
> > However, can I be 100% sure that,no matter how I access variable
> > 'x' (with config.x or mod.config.x) it is always the same 'x'. I mean
> > that either reference of 'x' points to the same id(memory position)?
>
> Yes it does unless you re-assign it.
>
> --James

Understood, thank you very much

Vicente Soler



More information about the Python-list mailing list