Re: [Tutor] Re: Accessing local variables from nested functions.

2005-02-13 Thread Karl Pflästerer
On 13 Feb 2005, [EMAIL PROTECTED] wrote: > > Karl Pflästerer wrote on Sun, 13 Feb 2005 12:15:03 +0100: > >> what's the Python way of accessing local variables in nesting functions? For I didn't wrote that; please quote correctly. Thanks. Karl -- Please do *not* send copies of replies to

[Tutor] Re: Accessing local variables from nested functions.

2005-02-13 Thread Andrei
Karl Pflästerer wrote on Sun, 13 Feb 2005 12:15:03 +0100: > what's the Python way of accessing local variables in nesting functions? For > then there's no problem in running such function, but what if I'd like to > modify var1 so that the change were vissible in p()? I'd use return in the form