Professional Documents
Culture Documents
Programming
Chitra G M
Assistant Professor
Department of Computer Science &
Engineering
PAP-Special Topic
Flask
Chitra G M
Department of Computer Science &
Engineering
Flask
Flask Setup:
app.route(rule, options):
The route() function of the Flask class defines the
URL mapping of the associated function.
app.route(rule, options)
rule: It represents the URL binding with the function.
url_for( function_name) :
The url_for() function is used to build a URL to the specific
function dynamically.
This function is useful in the sense that we can avoid hard-
coding the URLs.
Flask
https://www.javatpoint.com/first-flask-application
THANK
YOU
Chitra G M
Department of Computer Science &
Engineering
chitragm@pes.edu