Schon wieder ein problem meinerseits und zwar diesmal mit der Timerfunktion!
Man sehe sich dieses einfache Script an:
Code: Alles auswählen
import threading
def hello():
print "hello, world"
t = threading.Timer(5.0, hello())
t.start()
Exception in thread Thread-1:
Traceback (most recent call last):
File "C:\Program Files\Python\lib\threading.py", line 486, in __bootstrap_inner
self.run()
File "C:\Program Files\Python\lib\threading.py", line 663, in run
self.function(*self.args, **self.kwargs)
TypeError: 'NoneType' object is not callable
Ich sehe meinen Fehler einfach nicht!
Danke schonmal für eure Hilfe!