title: Program gets stuck with tornado
body: <p>I'm trying to make a Raspberry Pi send plain text to my phone over my local network, from where I plan to pick it up.</p>
  <p>I tried the following &quot;hello world&quot;-like program from their official website, but I cannot get it to proceed after a point.</p>
  <pre class="lang-py prettyprint-override"><code>import tornado.ioloop
  import tornado.web
  
  
  class MainHandler(tornado.web.RequestHandler):
      def get(self):
          self.write(&quot;Ugh, the world? Well.. hello, I guess&quot;)
  
  
  application = tornado.web.Application([
      (r&quot;/&quot;, MainHandler),
  ])
  
  application.listen(8881)
  
  tornado.ioloop.IOLoop.instance().start()
  
  # I cannot get this line to execute!!
  print(&quot;Hi!!&quot;)
  </code></pre>
  <p>Experience: basics of Python, intermediate with Arduino C++, none in networking/web</p>