Open in app
Home
Notifications
Lists
Stories

Write
k4th4
k4th4

Home

Pinned

Flask with Bootstrap — A newbie friendly tutorial

How do you structure a simple app with Flask and Bootstrap? I couldn’t find a code newbie friendly tutorial on this topic when I needed it, so I wrote one. You need a Python file (main.py in this example) and a HTML file (index.html in this example). main.py from flask import Flask, render_template from flask_bootstrap import Bootstrap app = Flask(__name__) Bootstrap(app) @app.route("/") def home()…

Python

2 min read

Flask with Bootstrap  — A simple tutorial
Flask with Bootstrap  — A simple tutorial

Feb 14, 2021

Forms with Flask-WTF — A newbie friendly tutorial

In this short tutorial you will learn how to create a (very!) simple app using Flask-WTF. This includes Python, Flask, HTML — and PyCharm. Use pip install Flask-WTF in the PyCharm Terminal. After that you go to PyCharm /Preferences /Project /Python Interpreter/+. Search for flask-wtf and install it. MAIN.PY from…

Python

2 min read

Forms with Flask-WTF — A newbie friendly tutorial
Forms with Flask-WTF — A newbie friendly tutorial
k4th4

k4th4

Code Newbie learning Python

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Knowable