I am really happy with my progress so far

I recommend Flask as an entry point into python based web development. Django is very verbose and has a lot of set up and features you won't need when starting out and can make things very confusing. Flask is very lightweight but can scale to what ever project size you need.

# app.py

from flask import Flask

app = Flask(__name__)

@app.route('/')
def home():
    return "Hi!"

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

That's it! thats the bare minimum you need to start a flask web application, you can run this by going to the folder where this file is and typing python3 app.py then going to the link it says its hosted on.

From there you can implement more advanced concepts of routing and rendering pre built HTML files.

/r/learnpython Thread