Re: Is mymodule.myvariable a 'global'? (What is proper definition of 'global variable'?)

2005-08-21 Thread Michael Ekstrand
On 21 Aug 2005 09:45:26 -0700 "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Python lets me access module level variables from *anywhere*. All I > have > to do is add module name in front. > > e.g. > > mymodule.myvariable > > Is this considered a 'global'? Or, does a 'global variable' have t

Is mymodule.myvariable a 'global'? (What is proper definition of 'global variable'?)

2005-08-21 Thread [EMAIL PROTECTED]
Python lets me access module level variables from *anywhere*. All I have to do is add module name in front. e.g. mymodule.myvariable Is this considered a 'global'? Or, does a 'global variable' have to be accessible anywhere *without* a namespace in front? (I'm not sure what proper academic de