Python Flask From Scratch - [Part 1] - Getting Started
Why Stack Overflow recommends it
Stack Overflow users cite it as the beginner Flask tutorial they are following, and often bring it up when they hit setup or template errors while working through it.
Recommended by 1 people across 1 different months, 2018 to 2020.
What it is
The first episode of Traversy Media's Python Flask From Scratch series, a screen-recorded tutorial by Brad Traversy. It walks through starting a project, installing Flask with pip, creating app.py, defining routes and rendering templates.
What people said
Recommends Aneesh Bharath · 2020-05 · Stack Overflow · on “How to render a Python Guess The Number game on HTML page”
You could try some tutorials on youtube or some free learning platforms to get a start.. its pretty simple.. and you could do a lot more than create a number guessing app.. I had followed link [this video]
Cites Tanay Roman · 2018-01 · Stack Overflow · on “Bootstrap navbar not rendering properly”
I'm learning Flask through a [this video] , and I can't get the bootstrap navbar to work properly. I picked up the code from the bootstrap examples section. I've tried what other answers suggested around here on similar questions but nothing seems to solve the problem. Code snippets and screenshot posted below. The CSS link I'm using works fine too. I'm a beginner so any help would be really appreciated. Thank you. [LINK] layout.html: <!DOCTYPE html> <html> <head> <title>MyFlaskApp</title> <link rel="stylesheet" href=" [LINK] "> </head> <body> {% include 'includes/_navbar.html' %} {% block body %}{% endblock %} <script src=" [LINK] "></script> <script src=" [LINK] "></script> </body> </html> _nav
Cites Reuben Watt · 2018-02 · Stack Overflow · on “Python Flask- Not able to retrieve my templates”
I know a similar question has been asked before but the answers were not able to help me. I am following this tutorial: [this video] but i am unable to retrieve the template 'home.html' as I get the error jinja2.exceptions.TemplateNotFound: home.html I have ensured I have the right directory. As inside the folders I have my program (App.py) as well as a folder called 'Templates' and inside that I have my 'home.html' I have tried changing the capital letters. Recreating the folder. Tried following the tutorial again but no luck what so ever. I would be really happy if you could help me. If you have any questions then feel free to hit me up: p.s my code is : from flask import Flask, render_template
Cites endrasa · 2019-07 · Stack Overflow · on “Installing python3-pip / flask on macOs Mojave 10.14.5”
I'm trying to install flask on my Mac and am struggling with the first step which is installing python3-pip. For reference, I'm using this tutorial: [this video] sudo apt-get install python3-pip sudo: apt-get: command not found Thanks in advance.