Answers for "flask + html"

0

flask page

from flask import Flask		# Imports flask
app = Flask(__name__)		# Setting up the app

@app.route('/')				# Sets the route for the page
def hello_world():			
    return 'Hello, World!'	# Returns 'Hello, World' wheen
							# you go to the '/' or main page
Posted by: Guest on March-27-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language