You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
370 B
17 lines
370 B
from flask import Flask
|
|
from flask import render_template
|
|
|
|
app = Flask(__name__)
|
|
|
|
@app.route('/')
|
|
def hello_world():
|
|
return 'Hello, World!'
|
|
|
|
|
|
# @app.route('/hello/<name>')
|
|
@app.route('/perspectiveB/')
|
|
def perspectiveB():
|
|
return render_template('perspectiveB.html')
|
|
@app.route('/perspectiveA/')
|
|
def perspectiveA():
|
|
return render_template('perspectiveA.html')
|
|
|