Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
realpython
/
materials
Public
Notifications
You must be signed in to change notification settings
Fork
5.3k
Star
5.2k
Code
Issues
39
Pull requests
50
Actions
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Security and quality
Insights
Sample code for: How to Use Claude Code to Write and Refactor Python
- #799
#799
Merged
bzaczynski
merged 5 commits into
realpython:master
realpython/materials:master
from
realpython-bot:claude-code-materials
realpython-bot/materials:claude-code-materials
Copy head branch name to clipboard
Aug 16, 2026
Conversation
Commits
5
(5)
Checks
Files changed
Merged
Sample code for: How to Use Claude Code to Write and Refactor Python
#799
bzaczynski
merged 5 commits into
realpython:master
realpython/materials:master
from
realpython-bot:claude-code-materials
realpython-bot/materials:claude-code-materials
Copy head branch name to clipboard
Commits
Commits on Jul 29, 2026
Sample code for: How to Use Claude Code to Write and Refactor Python
Show description for 36bffff
RPBot
and
claude
committed
36bffff
View commit details
Copy full SHA for 36bffff
Browse repository at this point
Format with ruff (line-length 79) to satisfy repo linters
Show description for 357d181
RPBot
and
claude
committed
357d181
View commit details
Copy full SHA for 357d181
Browse repository at this point
Commits on Aug 14, 2026
Rename claude-code/ to how-to-use-claude-code/ to match article slug
Show description for d8743cc
Philipp Acsany
and
claude
committed
d8743cc
View commit details
Copy full SHA for d8743cc
Browse repository at this point
Update article title in prompts.md
Show description for f4dfd2a
Philipp Acsany
and
claude
committed
f4dfd2a
View commit details
Copy full SHA for f4dfd2a
Browse repository at this point
Commits on Aug 16, 2026
Merge branch 'master' into claude-code-materials
bzaczynski
authored
e8e93fe
View commit details
Copy full SHA for e8e93fe
Browse repository at this point
You can’t perform that action at this time.