from source_code_event_handler import SourceCodeEventHandler from terminado_event_handler import TerminadoEventHandler from tornado.ioloop import IOLoop if __name__ == '__main__': anchor_webide = SourceCodeEventHandler('anchor_webide', 'login_projectdir', 'login') anchor_terminado = TerminadoEventHandler('anchor_terminado', 'terminado') IOLoop.instance().start()