Real Python

Get Your Cheat Sheet: Click here to download a free PDF summarizing the patterns, pitfalls, and prompts for writing CLAUDE.md files that steer Claude Code through your Python projects.

Almost there! Complete this form and click the button below to gain instant access:

A person and a robot beside a filing cabinet with drawers labeled GLOBAL, PROJECT, and LOCAL, next to a Python logo, a CLAUDE.md tag, and a screen labeled MEMORY with checklist items.

How to Write a CLAUDE.md File for Claude Code (PDF Guide)

๐Ÿ”’ No spam. We take your privacy seriously.

ยฉ 2012โ€“2026 Real Python โ‹… Privacy Policy