title: Flask cannot find template file - jinja2.exceptions.TemplateNotFound
body: <p>I tried to render an "html" file using Flask(Jinja2) in Python, but it showed me an error.
  My controller ".py file":-</p>
  
  <pre><code>from flask import Flask, render_template
  app = Flask(__name__)
  @app.route("/profile/&lt;name&gt;")
  def profile(name):
      return render_template('profile.html', name=name)
  if __name__ == "__main__":
      app.run(debug=True)
  </code></pre>
  
  <p>My template "profile.html" file:</p>
  
  <pre><code>&lt;h1&gt;Welcome To Your Profile, {{ name }}&lt;/h1&gt;
  </code></pre>
  
  <p>When I ran the flask app, it gave me the following exception:-</p>
  
  <pre><code>  jinja2.exceptions.TemplateNotFound: template\profile.html
  </code></pre>