How to make a website with Python?

I am wanting to build a website. I am wondering if any of you have a video on how to do it on python.

1 Like

Yeah try something like this:

from flask import Flask

app = Flask(__name__)

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

app.run("0.0.0.0")
2 Likes

https://replit.com/@EarthRulerr/Python-Templates-x-Auth?v=1

1 Like

Flask is great and easy.

https://flask.palletsprojects.com/en/2.2.x/

(Youtube) Video here

that could have been a rickroll smh

nice freecodecamp is always a great resource!

You can visit the flask documentation online and use flask to make a website
We also got a flask template here so search flask instead of python as language if you want to make one

You could use Flask as a backend.

You’ll never know my friend!! You’ll never know!

Very useful vids i used when i was first starting off:
1) Intro (making basic web): Intro Python Flask with Replit - YouTube
2) Adding style (CSS): Adding CSS to your Flask App in replit - YouTube
3) Adding forms: Form input in Flask with replit - YouTube