execution time with global variables
sarmin kho
sarmin_kho at yahoo.com
Fri Jul 2 05:34:25 EDT 2004
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
---------------------------------
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20040702/396ac7fa/attachment.html>
More information about the Python-list
mailing list