In this video, I walk through how to develop a basic single-page Flask web application in Python. The functionality of this example is to indicate to the user whether a given number is prime. I review setting up a Flask application, get and post requests, and loading an HTML file using Flask. Although this example is simple, it provides a substantial jumping-off point for more complex applications.
Visit our GitHub to review the source code for this example.
Click here to read a blog post series on how to build the same simple Flask app.