Module 01 of 06 · Outline
Python & AI Development Environment Setup
Build a reproducible Python workspace for AI applications.
Learning outcome: A version-controlled Python project with isolated dependencies and safe configuration.
Lesson outline
Lesson 1.1
Python project foundations
- Python installation and interpreter selection
- Virtual environments and dependency management
- Project structure, imports, and command-line scripts
Lesson 1.2
Git and configuration
- Repositories, commits, branches, and .gitignore
- Environment variables and secret management
- Configuration validation and helpful error messages
Lesson 1.3
Asynchronous AI calls
- async / await and concurrent I/O
- Timeouts, retries, and rate limits
- Mock responses for testing without a model key
Practice assignment
Create your AI starter repository
- Set up a virtual environment and pin dependencies.
- Load configuration from environment variables; exclude secrets from Git.
- Write an async mock-model call and a test for missing configuration.
Deliverable: A repository with a README, setup commands, and passing tests. Never include API keys.
Independent practice · no submission or grading