Skip to content

Instantly share code, notes, and snippets.

@jjeanjacques10
Last active October 19, 2019 02:06
Show Gist options
  • Save jjeanjacques10/1b7290e844e9172772e82512c2a350b1 to your computer and use it in GitHub Desktop.
Save jjeanjacques10/1b7290e844e9172772e82512c2a350b1 to your computer and use it in GitHub Desktop.
Arquivo principal do projeto
from flask import Flask, request
app = Flask(__name__)
@app.route("/<nome>")
def hello(nome):
text = "<h1>Microsoft Student Partners</h1>"
text += "<h3>Hello, {}!</h3> <br>".format(nome)
text += "<img src='https://secure.meetupstatic.com/photos/event/b/b/2/a/global_481787914.jpeg'><br><br>"
text += "<i>by Jean J. Barros</i>"
return text
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment