Ok, I guess my question (now) is:

how do I change global variables within a function:

##################################
VAR = "TEST"

def m():
   VAR="no test"
##################################

when I do this (from the interactive editor):

##################################
>>>print VAR
TEST
>>>m()
>>>
>>>print VAR
TEST
>>>
##################################

any advice?
_______________________________________________
Tutor maillist  -  [EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/tutor

Reply via email to