title: "GET / HTTP/1.1" 404 in Python Flask
body: <p>This is my code i m getting error on browser is The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again. my file name is app.py</p>
  
  <pre><code>from flask import Flask, render_template, json, request
  
  from datetime import datetime
  from threading import Timer
  
  app = Flask(__name__)
  
  x=datetime.today()
  y=x.replace(day=x.day+1, hour=12, minute=52, second=0, microsecond=0)
  delta_t=y-x
  
  secs=delta_t.seconds+1
  
  def hello_world():
  print "hello world"
  #...
  
  t = Timer(secs, hello_world)
  t.start()
  
  
  if __name__ == "__main__":
  app.run(port=5004)
  </code></pre>