hi, i'm a newbie, but please bear with me for a second. i have this function inside a while-loop, which i'd like to loop forever, but i'm not sure about how to change the parameters of my function once it is running. what is the best way to do that? do i have to use threading or is there some simpler way? here's some code to show the structure of the problem:
from time import * b = 44 def printStuff(a): print a sleep(1) print b sleep(1) while 1: printStuff("bibi") now how can i make printStuff() print "fifi" instead of "bibi" or 88 instead of 44 once it is running? thank y'all for your help do the snake! robin -- http://mail.python.org/mailman/listinfo/python-list