# -*- coding: utf-8 -*-
# @Time    :2021/1/13 22:57
# @Author  :robot_zsj
# @File    :app_1.py
from flask import Flask, Blueprint

app = Flask(__name__)

index_page = Blueprint("index_page", __name__)


@index_page.route("/")
def index_page_index():
    return "index page"


app.register_blueprint(index_page, url_prefix="/imooc")


@app.route("/")
def hello():
    return 'hello'


if __name__ == '__main__':
    app.run(host='0.0.0.0', debug=True)

4a47a2ade032f9b62d3914e84c7bac232eb364df
<mask token>


@index_page.route('/')
def index_page_index():
    return 'index page'


<mask token>


@app.route('/')
def hello():
    return 'hello'


<mask token>

<mask token>


@index_page.route('/')
def index_page_index():
    return 'index page'


app.register_blueprint(index_page, url_prefix='/imooc')


@app.route('/')
def hello():
    return 'hello'


if __name__ == '__main__':
    app.run(host='0.0.0.0', debug=True)

<mask token>
app = Flask(__name__)
index_page = Blueprint('index_page', __name__)


@index_page.route('/')
def index_page_index():
    return 'index page'


app.register_blueprint(index_page, url_prefix='/imooc')


@app.route('/')
def hello():
    return 'hello'


if __name__ == '__main__':
    app.run(host='0.0.0.0', debug=True)

from flask import Flask, Blueprint
app = Flask(__name__)
index_page = Blueprint('index_page', __name__)


@index_page.route('/')
def index_page_index():
    return 'index page'


app.register_blueprint(index_page, url_prefix='/imooc')


@app.route('/')
def hello():
    return 'hello'


if __name__ == '__main__':
    app.run(host='0.0.0.0', debug=True)

# -*- coding: utf-8 -*-
# @Time    :2021/1/13 22:57
# @Author  :robot_zsj
# @File    :app_1.py
from flask import Flask, Blueprint

app = Flask(__name__)

index_page = Blueprint("index_page", __name__)


@index_page.route("/")
def index_page_index():
    return "index page"


app.register_blueprint(index_page, url_prefix="/imooc")


@app.route("/")
def hello():
    return 'hello'


if __name__ == '__main__':
    app.run(host='0.0.0.0', debug=True)
