def main(args):
    
    app = web.Application([
        (r'.*/args', ArgsHandler),
        (r'.*', EchoHandler),
    ])
    
    server = httpserver.HTTPServer(app)
    server.listen(args.port)
    try:
        ioloop.IOLoop.instance().start()
    except __HOLE__:
        print('\nInterrupted')
dataset/ETHPy150Open jupyterhub/jupyterhub/jupyterhub/tests/mocksu.py/main