The following simple sample code crashes Pythonista (below). Is this a known bug and, if so, is there a workaround? Thanks, Stefan
import threading
import datetime
import time
class ThreadClass(threading.Thread):
def run(self):
k=0
now = datetime.datetime.now()
print "%s says Hello World at time: %s" % (self.getName(), now)
time.sleep(10)
print "finished"
for i in range(3):
t = ThreadClass()
t.start()