Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed Flask with SQLAlchemy Basics!
You have completed Flask with SQLAlchemy Basics!
Preview
Start creating a basic website using Flask.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
From lowercase f,
import flask with an uppercase F.
0:00
To start our site, we'll need to
create a new variable called app,
0:05
and set it equal to Flask and
pass in Dunder name.
0:10
Dunder name refers to
the namespace this is running in,
0:16
we will be running this
in app.py directly.
0:20
So the namespace will be Dunder main.
0:24
If we were to import this
file to be used elsewhere,
0:27
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