
Supongamos que tengo un codigo parecido a este:
Código
import time import threading def hola(): while 1: print "Hola" time.sleep(3) t = threading.Thread(target=hola()) t.setDaemon(True) t.start() while True: print "adios" time.sleep(5)
Supuestamente si ejecuto el thread como daemon deberia dejar avanzar el script no?
Un saludo!