Re: Python scope

From: Chris Friesen <cbf123_at_no.spam.please>
Date: Thu Jul 19 2007 - 10:57:23 CST

Dave Hall wrote:
> On Thu, Jul 19, 2007 at 08:48:55AM -0700, Steven Kurylo wrote:

>> "all variables found outside of the innermost scope are read-only
>>(an attempt to write to such a variable will simply create a new local
>>variable in the innermost scope, leaving the identically named outer
>>variable unchanged)."

I have zero python experience, so this seems odd. Does this mean that
there's no such thing as a global variable?

Chris
Received on Thu Jul 19 10:57:37 2007

This archive was generated by hypermail 2.1.8 : Thu Jul 19 2007 - 10:57:40 CST