Or a better example would be: I have the params in a config file and import this module: myconfig.py a=10 b=30 c=31 d=40
import myconfig def checkCutoff(self,up,down): .............do some processing........ if (a <= score <= b): result="Bad" elif (c <= score <= d): result="Good" .............do some processing........ return result Now when i 'manually' make some changes to the value of a,b,c,d then the the checkCutoff func should refer to the new values. -Venkat -- http://mail.python.org/mailman/listinfo/python-list