python-tutorial
python-tutorial copied to clipboard
Material for a Jupyter-based Python tutorial
- [ ] Add a line to execute `solution_print_salutation()`, so they can see the output, since this one cannot be tested normally
- [ ] Add more examples for one-line syntax. - [ ] Provide multiple solutions: from a simpler one to a more advanced one. - [ ] Add better explanation...
Every time I need to generate a TOC in a notebook, I don't remember how to do that. The help message of the tool should be improved. For the record:...
- Add support for `uv` and `pip` installation methods as alternatives to Conda/Docker **only** to setup a local dev environment - Update `pyproject.toml` with proper project metadata and structured development...
[Responses](https://platform.openai.com/docs/api-reference/responses) are the direct evolution of Chat Completions. They enable a much richer interface for generating model responses, extending a model's capabilities with built-in tools for file search, web search,...
Currently, AI features are relying on OpenAI API Chat Completions and the possibility of returning "structured responses" via Pydantic models. Also, as mentioned in #271, the main focus of the...
There is a lingering `datetime.utcnow()` in the section about mutable objects as function's arguments: ```python from datetime import datetime def log(msg, *, dt=datetime.utcnow()): print(f"{dt}: {msg}") ``` Should be: ```python from...