global variable problem

volumeregeling volumeregeling at hotmail.com
Mon Jan 24 07:49:04 EST 2000


Hi,


I am writing a program without classes.

I have the following :

Debugging = 0

def remote_debug():
      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 ????  
so i would like to update the global one when i am in the function and
not create a second Debugging which disapears when the functions dies.


thakns,

Volumeregeling.



More information about the Python-list mailing list