Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll

- 2x 2x
- 1.75x 1.75x
- 1.5x 1.5x
- 1.25x 1.25x
- 1.1x 1.1x
- 1x 1x
- 0.75x 0.75x
- 0.5x 0.5x
It's always good to start small, so let's create a simple Flask app with a single view and route.
New Terms
View: A view is a function that returns an HTTP response. This response has to be a string but can be any string you want.
Route: A route is the URL path to a view. They always start with a forward slash /
and can end with one if you want.
dunder: A quick way of saying "double underscore".
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up-
Piotr Manczak
Front End Web Development Techdegree Graduate 29,368 Points3 Answers
-
Jeremy Dyck
12,013 PointsFlask not working in Workspaces - "Flask Basics - First Steps" Not sure how to follow along with the video
Posted by Jeremy DyckJeremy Dyck
12,013 Points3 Answers
-
Ngqabutho Moyo
2,538 Points1 Answer
-
James Norberto
765 Points0 Answers
-
dakota ferrell
2,336 Points1 Answer
-
Patrick Brusven
14,520 Points0 Answers
-
Ozaveshe Balogun
Front End Web Development Techdegree Student 20,459 PointsHi. when i try to preview my workspace, I get "Workspace Unavailble" please what is happening ?
2 Answers
-
PLUS
christian marzano
Courses Plus Student 585 Points1 Answer
-
Alex Salas
3,429 Points1 Answer
-
Ivan Cardenas
390 Points4 Answers
-
Natalia Solomkina
1,594 Points1 Answer
-
Brian Patterson
19,588 Points3 Answers
-
Conor Vanoystaeyen
16,687 Points3 Answers
-
Bree kelly
1,725 Points1 Answer
-
Wilfredo Casas
6,174 Points1 Answer
-
brandon nelson
1,571 Points1 Answer
View all discussions for this video
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up