Skip to content

Instantly share code, notes, and snippets.

@Timtech4u

Timtech4u/app.yaml

Last active Jul 26, 2020
Embed
What would you like to do?
Hello World - Flask Web Application
runtime: python37
<h1> Hello World from Flask Web App </h1>
from flask import Flask, request
app = Flask(__name__, static_url_path='', static_folder='')
@app.route('/')
def root():
return app.send_static_file('index.html')
if __name__ == '__main__':
app.run(host='127.0.0.1', port=8080, debug=True)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.