Unit 13: Python Tips and LLMs
Students who complete this unit will demonstrate that they can:
- Use list, dict, and set comprehensions as a compact alternative to accumulator loops
- Use standard-library features (
collections.Counter, re, enumerate, pathlib) to avoid reinventing common utilities
- Call a large language model from Python using the OpenAI client library, including conversation memory and system prompts
- Use tool calling to let an LLM run Python functions
Contents