S
sarmin kho
Hi Pythoners,
i have been using a lot of global variables in the python script i am working on. the global variables are shared and used by all various 'definitions' :
def name ():
global all globs...
.....
my question is: 'is it safe using global variables in term of its execution time?
i cant think of any other ways not to use the globs because some variables simply have to be shared among those definitions..
many thanks..
sarmin
i have been using a lot of global variables in the python script i am working on. the global variables are shared and used by all various 'definitions' :
def name ():
global all globs...
.....
my question is: 'is it safe using global variables in term of its execution time?
i cant think of any other ways not to use the globs because some variables simply have to be shared among those definitions..
many thanks..
sarmin