title: Having Error while running simple Python Flask web application
body: <p>Hi guys I'm getting error while trying to run Flask code. I'm doing a course from Udemy (the-python-mega-course):
  posting code and error below:</p>
  
  <p>Code:
          from flask import Flask, render_template</p>
  
  <pre><code>    app=Flask(__name__)
  
      @app.route('/')
      def home():
          return render_template("home.html")
  
      @app.route('/about/')
       def about():
           return render_template("about.html")
  
      if __name__=="__main__":
          app.run(port=5000, debug=True)
  </code></pre>
  
  <p>Error:
  * Restarting with stat
  An exception has occurred, use %tb to see the full traceback.</p>
  
  <p>SystemExit: 1</p>
  
  <p>C:\Users\Vineet\Anaconda3\lib\site-packages\IPython\core\interactiveshell.py:2889: UserWarning: To exit: use 'exit', 'quit', or Ctrl-D.
    warn("To exit: use 'exit', 'quit', or Ctrl-D.", stacklevel=1)</p>
  
  <p>Complete Traceback:</p>
  
  <p>File "", line 11, in 
      app.run(host='127.0.0.1', port=5000, debug=True)</p>
  
  <p>File "C:\Users\Vineet\Anaconda3\lib\site-packages\flask\app.py", line 841, in run
      del _get_debug, _set_debug</p>
  
  <p>File "C:\Users\Vineet\Anaconda3\lib\site-packages\werkzeug\serving.py", line 737, in run_simple
      serving.</p>
  
  <p>File "C:\Users\Vineet\Anaconda3\lib\site-packages\werkzeug_reloader.py", line 265, in run_with_reloader
      import signal</p>
  
  <p>SystemExit: 1</p>
  
  <p>As I'm totally new to Flask framework any help appreciated.</p>
  
  <p>Regards </p>