"Entity Framework Basics" was retired on July 14, 2025.
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 Create a Portfolio Using Python and Flask!
You have completed Create a Portfolio Using Python and Flask!
In this video, we’ll preview what we are building, set up a new Flask project, prepare our assets, and create a repo.
Prerequisites
- Python Basics | Course
- How to Install Python (macOS) | Workshop
- How to Install Python (Windows) | Workshop
Resources
- Python Virtual Environments | Workshop
- Git and GitHub Workflow for Developers | Workshop
- Create a Portfolio Using HTML and CSS | Workshop
Commands
To create a Python virtual environment
-
python3 -m venv env(macOS) -
python -m venv env(Windows)
To activate a virtual environment
-
source ./env/bin/activate(macOS) -
.\env\Scripts\activate(Windows)
To deactivate a virtual environment
deactivate
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
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