#python

8 tutorials, projects and news items tagged python.

Advanced: A Cinematic Short Made Entirely in PythonPick

Advanced tutorial: Use Claude Code and the cook Skill to drive headless Blender. Set the story, style, score line, and time first. Let the agent write a production doc and shot list, generate all 3D with Python, check still frames before batch rendering, link shots with transitions, and do editing, color, and audio in code. Includes 4 copyable prompts.

Tutorial·Advanced·18 mintutorialblender3dvideo
Scientific Figure Making Plots Paper Figures the Way Top Venues ExpectPick

Use when the user needs matplotlib data charts for a paper, academic talk or defense slides (grouped bars, ablation studies, training curves, heatmaps, multi-panel figures) exported as PNG or PDF vector files. It follows the publication styling of figures4papers (CC BY-NC 4.0, non-commercial use only): consistent fonts, colors, line widths and export settings, using only the user's data and asking first when something is unclear. Not for interactive charts such as Plotly, exploratory plotting, or 3D and map figures. Use case: Let your agent draw your experiment data as bar charts, curve plots and heatmaps that follow top-venue paper figure conventions, ready to drop into a paper.

Skill·Intermediate·5 minskillmatplotlibpythonresearch
Advanced: Build an Agent Team With a Lead and a Critic on the Claude Agent SDKPick

Advanced tutorial: first decide whether you need a team at all, then build it following an SOP: the orchestrator splits up tasks, specialists each do one thing in parallel, and the reviewer only reads and never edits, acting as the gatekeeper. When dispatching work, spell out everything. Set tools and effort per role, and cap budget, depth, and time. Includes complete Python code and prompts to hand to an Agent for execution.

Advanced: Agent Dev 00 Gets Your Course Environment Running

Developer tutorial on what you need to run the code in Microsoft's AI Agents for Beginners course: forking the repo, Python 3.12, the Azure CLI, a Foundry project with a deployed model, and how to avoid common stumbling blocks.

Tutorial·Advanced·4 minagentsetupgithubpython
Advanced: Connect Xiaozhi AI to Claude and Codex Without an API KeyPick

Advanced tutorial: add claude_cli, codex_cli and fallback LLM providers to xiaozhi-esp32-server, calling the locally logged-in official CLIs, with all tokens handled by the CLI itself. Tool calls use a <tool_call> text protocol and are not spoken aloud. If Claude errors, it automatically switches to Codex, and the failing provider cools down for 300 seconds. Includes full code, configuration, testing methods, and measured latency.

Tutorial·Advanced·18 minxiaozhiesp32claude-codecodex
Run Scheduled Tasks With Zero Tokens Using a System TimerPick

Intermediate tutorial: Don't have the Agent run scheduled tasks by hand every day. Have it write the task as one Python script, hand it to the system's built-in cron or Task Scheduler, and run it at 0 Tokens per run. When the script finishes, it sends you a message saying whether it succeeded or failed.

Tutorial·Intermediate·4 minautomationcronpythoncost
Turn a Holdings Screenshot Into a Daily Stock Research Report With One CommandPick

One command runs the full process and produces a daily research report and dashboard that can be cross-checked, viewed locally or published as a static site.

Project·Intermediate·3 minprojectquantstockspython
SRT Subtitles Turn Straight Into a Hand-Drawn Whiteboard Video

Turns an SRT subtitle file into a whiteboard hand-drawn animation on a warm cream paper background: subtitles drive elements to appear one by one in narrative order, with zone-mask layout and continuous strokes (outline first, then color), outputting MP4 and saving you from frame-by-frame manual whiteboard animation. Multi-file repo, installed via git clone. Use case: Turn an SRT subtitle file into a subtitle-driven whiteboard hand-drawn animation video with continuous strokes.

Skill·Intermediate·2 minskillvideosubtitleswhiteboard