Python in maths lessons makes functions, sequences and chance tangible, but preparing suitable notebooks takes time and ready-made examples rarely fit your own lesson. With Claude Code, a coding agent that works in the terminal, you describe what a tool should do and let it write, test and explain the code. In the workshop you create plots, simulations and small calculation aids for your topics. Along the way you learn to steer the agent with clear tasks and tests, so the code stays readable and mathematically correct.
Who the Python workshop with Claude Code is for
Maths and computer science teachers who use Python in class or want to introduce it, and who have some programming experience.
What you'll walk away with
- Set up Claude Code and tailor it to teaching with a CLAUDE.md project file
- Have function plots, sequences and simulations in Python created for specific lessons
- Safeguard results with small tests and cross-checks in SymPy
- Get code written so that students can read it and change it step by step
- Prepare notebooks for use with Jupyter or in the browser
Typical scenarios
- For introducing derivatives, a notebook animates secant slopes approaching the tangent while students change the distance themselves.
- A dice simulation demonstrates the law of large numbers, and the teacher has the agent add comments written for students.
- For a project week, a small tool fits growth models to real data and shows the deviations graphically.
Does this fit your team?
Pick a few dates that suit you. The request is non-binding, and the agenda is tailored in a short call beforehand.
What the Python workshop with Claude Code covers
- How a coding agent worksTask, plan, code change, test: getting to know Claude Code in the terminal and setting sensible permissions.
- Project rules for teachingIn CLAUDE.md you define how code is commented, named and kept readable for students.
- Visualise and simulateFunction graphs, sequences and random experiments are built with Matplotlib to your specification.
- Mathematical safeguardsCross-checks with SymPy, edge cases and small tests keep faulty graphs out of the classroom.
- Preparing for classStructure notebooks, add student tasks and derive variants for different groups.
Before the Python workshop with Claude Code: prerequisites
- Basic Python knowledge such as variables, loops and functions
- A laptop with Python and access to Claude Code; we sort out the setup beforehand
Materials you keep
- Several checked notebooks on your own lesson topics
- A CLAUDE.md template with rules for readable teaching code
- A checklist for verifying generated graphs mathematically