from flask import (
                    Flask,
                    render_template,
                    request
                  )

app = Flask(__name__)


@app.route('/get-student-info/<string:id>')
def hello_world(id):
    print(id)
    print(request.args)
    print(request.json)
    return 'Hello World!'


@app.route('/my-new-route/')
def my_route():

    users = {
        'Jonh': 'new_user',
        'Alex': 'new_user',
        'Jenny': 'old_user'
    }

    my_list = ['1', '2', '3', '4', '5']

    title = 'main_page'
    return render_template('index.html',
                           data='my_data',
                           title=title,
                           users=users,
                           template_list=my_list)


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

9d53a513919773942772408b9e1b02ae53f3ab5c
<mask token>


@app.route('/get-student-info/<string:id>')
def hello_world(id):
    print(id)
    print(request.args)
    print(request.json)
    return 'Hello World!'


@app.route('/my-new-route/')
def my_route():
    users = {'Jonh': 'new_user', 'Alex': 'new_user', 'Jenny': 'old_user'}
    my_list = ['1', '2', '3', '4', '5']
    title = 'main_page'
    return render_template('index.html', data='my_data', title=title, users
        =users, template_list=my_list)


<mask token>

<mask token>


@app.route('/get-student-info/<string:id>')
def hello_world(id):
    print(id)
    print(request.args)
    print(request.json)
    return 'Hello World!'


@app.route('/my-new-route/')
def my_route():
    users = {'Jonh': 'new_user', 'Alex': 'new_user', 'Jenny': 'old_user'}
    my_list = ['1', '2', '3', '4', '5']
    title = 'main_page'
    return render_template('index.html', data='my_data', title=title, users
        =users, template_list=my_list)


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

<mask token>
app = Flask(__name__)


@app.route('/get-student-info/<string:id>')
def hello_world(id):
    print(id)
    print(request.args)
    print(request.json)
    return 'Hello World!'


@app.route('/my-new-route/')
def my_route():
    users = {'Jonh': 'new_user', 'Alex': 'new_user', 'Jenny': 'old_user'}
    my_list = ['1', '2', '3', '4', '5']
    title = 'main_page'
    return render_template('index.html', data='my_data', title=title, users
        =users, template_list=my_list)


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

from flask import Flask, render_template, request
app = Flask(__name__)


@app.route('/get-student-info/<string:id>')
def hello_world(id):
    print(id)
    print(request.args)
    print(request.json)
    return 'Hello World!'


@app.route('/my-new-route/')
def my_route():
    users = {'Jonh': 'new_user', 'Alex': 'new_user', 'Jenny': 'old_user'}
    my_list = ['1', '2', '3', '4', '5']
    title = 'main_page'
    return render_template('index.html', data='my_data', title=title, users
        =users, template_list=my_list)


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

from flask import (
                    Flask,
                    render_template,
                    request
                  )

app = Flask(__name__)


@app.route('/get-student-info/<string:id>')
def hello_world(id):
    print(id)
    print(request.args)
    print(request.json)
    return 'Hello World!'


@app.route('/my-new-route/')
def my_route():

    users = {
        'Jonh': 'new_user',
        'Alex': 'new_user',
        'Jenny': 'old_user'
    }

    my_list = ['1', '2', '3', '4', '5']

    title = 'main_page'
    return render_template('index.html',
                           data='my_data',
                           title=title,
                           users=users,
                           template_list=my_list)


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