Week 7: Modules, Dependencies, and Virtual Environments
Learning Objectives
By the end of this week, students will be able to:
- Import functions and variables from Python modules
- Explain why external packages need to be installed before use
- Describe the purpose of a virtual environment
- Run a small multi-file Python project with clear organization
Perspectival Reading
Reading: TBD
Reflection Questions
- Why is it useful to separate code into multiple files and modules?
- What problems do virtual environments solve in a programming workflow?
- How can dependency management make collaboration easier and safer?
Slides
Lab Assignment
Week 7 Lab — GitHub Classroom (link TBD)