flask에서 html 페이지 띄우는 방법 from project_name import app from flask import render_template @app.route('/') def index(): get_id = 1 get_password = 2 return render_template('index.html', id=get_id, password=get_password) if __name__ == "__main__": app.run(host="0.0.0.0", debug=True, port = 18989)