title: Redirect URL to Text File in Python
body: <p>Im trying to get reroute a url like pastebin.com/raw/example.txt to a local text file on my pc. can anyone help me im using:</p>
  
  <pre><code>from flask import Flask
  from flask import send_file
  app = Flask(__name__)
  
  @app.route("/raw/example.txt")
  def request_example():
      data = "Example"
      return data
  
  app.run(host='0.0.0.0', port=80)
  </code></pre>
  
  <p>So what do i need to put in the host='' for it to work? or change in the route def? thank you so much</p>