superpollo <u...@example.net> writes:

> so why this does not work?
>
>       1 #!/usr/bin/python
>       2
>       3 import threading
>       4
>       5 e = threading.Event()
>       6 t = threading.Timer(3.0, e.set())

The second arg needs to be a callable - maybe you meant e.set without
the brackets?

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to