global variable problem
Mikael Olofsson
mikael at isy.liu.se
Mon Jan 24 07:51:39 EST 2000
On 24-Jan-00 volumeregeling wrote:
> Debugging = 0
> def remote_debug():
global Debugging # Here it is
> Debugging = 1
>
> For some reasong the Debuggine in the function is not the same as the
> global one , can you tell me how i can update the global variable from
> within a function ????
See above.
/Mikael
-----------------------------------------------------------------------
E-Mail: Mikael Olofsson <mikael at isy.liu.se>
WWW: http://www.dtr.isy.liu.se/dtr/staff/mikael
Phone: +46 - (0)13 - 28 1343
Telefax: +46 - (0)13 - 28 1339
Date: 24-Jan-00
Time: 13:49:22
This message was sent by XF-Mail.
-----------------------------------------------------------------------
More information about the Python-list
mailing list