A basic website built with Flask, a Python web framework. When you open it in the browser, it shows a message. You can expand it into blogs, portfolios, or web apps.
- Basics of web frameworks.
- Creating routes (URLs) and responses.
- Running your own web server.
- This introduces you to web development with Python.
from flask import Flask
app = Flask(__name__)
@app.route("/")
def home():
return "Hello, this is my first Flask website!"
if __name__ == "__main__":
app.run(debug=True)
Leave a Reply