Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Create a Flask App

# save this as app.py
from flask import Flask, escape, request

app = Flask(__name__)

@app.route('/')
def hello():
    name = request.args.get("name", "World")
    return f'Hello, {escape(name)}!'
  
  # twitter : @MasudSha_
  # @MasudShah
Source by palletsprojects.com #
 
PREVIOUS NEXT
Tagged: #Create #Flask #App
ADD COMMENT
Topic
Name
5+8 =