Advertisement
Guest User

Untitled

a guest
Oct 18th, 2019
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.50 KB | None | 0 0
  1. # -*- coding: utf-8 -*-
  2. from flask import Flask, render_template
  3.  
  4. app = Flask(__name__)
  5.  
  6. @app.route('/')
  7. @app.route('/index')
  8. def index():
  9.     return render_template('Index.html')
  10.  
  11. @app.route('/annotation')
  12. def annotation():
  13.     return render_template('Annotation.html')
  14.  
  15. @app.route('/materials')
  16. def materials():
  17.     return render_template('Materials.html')
  18.  
  19. @app.route('/htu')
  20. def htu():
  21.     return render_template('How to Use.html')
  22.  
  23. if __name__ == '__main__':
  24.     app.run(debug=True)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement