Hello World in Flask (Python/WebDev)

Hello World

Flask/Python

Web Development

Create your first web app with Flask is just as simple as this code:

from flask import Flask

app = Flask(__name__)

@app.route("/")
def index():
    return "Hello World!"

if __name__ == "__main__":
    app.run()

Now that you have seen how easy it is, you can create beautiful web apps in the most simple way.

To learn more about Flask you can follow the next links:

Curso de Flask Completo y Gratuito Official Flask Documentation

Good luck!

AUTHOR

Thank you for write your first article. I am looking forward to sharing your knowledge.

READ NEXT

Boostlog is an online community for developers
who want to share ideas and grow each other.

Delete an article

Deleted articles are gone forever. Are you sure?