I have a tornado web server in python:
import tornado.httpserver import tornado.websocket import tornado.ioloop from tornado.ioloop import IOLoop import tor
You are calling the function in stead of starting a timer. Do this:
threading.Timer(10, self.msg, args =('in timer',)).start()