Learn Before
Code

Sample Flask File

Being a microframework, a flask application is able to be written in something as simple as a single file, for example:

from flask import Flask app = Flask(__name__) @app.route('/') def hello(): return 'Hello, World!'

0

1

Updated 2021-03-16

Tags

Python Programming Language

Data Science