Created
September 8, 2024 17:59
-
-
Save GravenilvecTV/2311b28b36d153bdf57f98373c13053a to your computer and use it in GitHub Desktop.
Example flask website
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from flask import Flask | |
app = Flask(__name__) | |
@app.route('/') | |
def home(): | |
return "<h1>Bienvenue sur mon site web!</h1><p>Ceci est une page simple avec Flask.</p>" | |
if __name__ == '__main__': | |
app.run(debug=True) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment