SHARE
TWEET

Untitled

a guest Oct 18th, 2019 70 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top