Learn Python and AI for the work you want to do
From your first line of code to data analysis, AI agents, and web apps
Real Python’s tutorials, courses, quizzes, and coding exercises are written by Python experts and organized into clear paths, so you always know what to learn next.
Free forever · Sign up with GitHub, Google, or email · No credit card
Trusted by over a million Python developers every month since 2012
- 730+in-depth tutorials
- 400+courses
- 440+interactive quizzes
- 550+coding exercises
- 40+learning paths
Pick a topic, get everything you need to start
Each kit bundles what we’d hand a friend who’s just getting started: a cheat sheet, working code, a full video course unlocked for free, and a quiz to check your progress. Create a free account, and it’s yours.
Data Science Starter Kit
Go from a raw CSV to a chart that answers a real question.
- pandas cheat sheet (PDF)
- Notebook and dataset for a complete analysis project
- Free course: Introduction to pandas
- Data Science Core Skills quiz
AI Apps & Agents Starter Kit
Call an LLM from Python, then give it tools to use.
- LLM APIs and MCP cheat sheet (PDF)
- Sample code for a working agent and MCP server
- Free course: Leverage OpenAI’s API in Your Python Projects
- LLM app development quiz
Machine Learning Starter Kit
Train, evaluate, and improve your first real model.
- scikit-learn workflow cheat sheet (PDF)
- Regression and clustering examples with real datasets
- Free course: Linear Regression in Python
- Machine learning fundamentals quiz
Automation Starter Kit
Hand your repetitive tasks to Python this week.
- File and folder automation cheat sheet (PDF)
- Scripts for listing files, sending emails, and working with ZIP archives
- Free course: Practical Recipes for Working With Files
- Standard library skills quiz
Web & APIs Starter Kit
Build and ship a Python-powered API from scratch.
- FastAPI cheat sheet (PDF)
- Complete URL shortener API project, built step by step
- Free course: Start Building With FastAPI
- Web development quiz
Secure Python Starter Kit
Handle secrets, encryption, and user input safely.
- Python security checklist (PDF)
- Sample code for serving your app over HTTPS
- Free course: Exploring HTTPS and Cryptography in Python
- Network security quiz
Start from zero, and start today
Half of the people who join Real Python are new to Python, and a third have never written a line of code. So we built a path that assumes nothing and moves one small step at a time.
- Find out what Python can do for youWatch the short What Can You Do With Python? course.
- Learn the basics, in orderFollow the Python Basics learning path, with a video course for every chapter.
- Check yourself as you goTake the free Python Skill Test quiz and see what to review.
Free Bonus: Python Cheat Sheet
Get a Python Cheat Sheet (PDF) and learn the basics of Python 3, like working with data types, dictionaries, lists, and Python functions:
Read it, watch it, test it, practice it
Every topic comes in the formats that help it stick, and they’re all connected. Finish a tutorial, and the matching course, quiz, and exercises are one click away.
Learning paths
Step-by-step roadmaps that combine tutorials, courses, quizzes, and exercises, and track your progress as you go.
Browse learning paths →Tutorials
In-depth guides with working code and interactive diagrams, written and reviewed by Python experts.
How tutorials work →Courses
Bite-sized lessons where an instructor codes along with you, with subtitles, transcripts, and certificates.
How courses work →Quizzes
Find out what you really know in five minutes, with hints, explanations, and coding questions.
How quizzes work →Coding exercises
Write real Python in your browser right after you learn it, and get instant feedback from tests.
How exercises work →Mentor AI New
A patient Python mentor on every page that sees what you’re learning and helps you get unstuck.
Meet Mentor AI →Never stay stuck for long
Error messages aren’t always helpful, and a normal tutorial can’t answer follow-up questions.
Mentor AI knows which tutorial, lesson, or exercise you’re on. It nudges you toward the fix one hint at a time instead of handing you the answer, so the idea actually sticks.
Meet Mentor AI →Good question! Look at where your print() call sits. Is it indented inside the for loop, or lined up with it?
for. So it only runs once, after the loop ends?Exactly. In Python, indentation decides what belongs to the loop. Indent that line one level, and run it again.
What Pythonistas say about Real Python
“I was able to bring a lot of that together with the tutorials and videos into a more cohesive skill set that just landed me a software engineering job after three years of little to no activity.”
“That’s the best thing about Real Python, the quality of the articles. You don’t find issues like you do on Medium or personal blog posts where you don’t have a team editing the tutorials.”
“My biggest win so far is having the confidence in myself to tackle new projects that I would’ve set aside before.”
Start free, upgrade when you’re ready
A free account gets you a plan and a head start. A membership unlocks everything on the platform.
Free account
$0, forever
- A personal learning plan based on your goals
- A free starter kit for your topic, including a full video course
- Hundreds of interactive quizzes
- Hundreds of in-depth tutorials
- New tutorials and Python tips in your inbox
Membership
Everything in the free account, plus
- All 400+ courses, with certificates of completion
- 550+ coding exercises with tests, hints, and solutions
- Mentor AI on every page
- Every learning path and members-only tutorial
- Weekly live Office Hours and the member community
New Python and AI content, every week
The Real Python team publishes and updates tutorials, courses, and quizzes every week, so what you learn matches the Python you’ll use at work.
See everything new →Training a team? Give your developers, analysts, and data scientists the same Python learning platform.
Real Python for Teams →Questions and answers
Is Real Python free?
A lot of it is. Most tutorials and all quizzes are free, and a free account adds a personal learning plan and a starter kit for your topic. A membership unlocks all courses, coding exercises, learning paths, and Mentor AI.
I’ve never programmed before. Can I start here?
Yes. About a third of the people who join Real Python have never written code. Start with What Can You Do With Python?, then follow the Python Basics learning path one step at a time.
I don’t know which topic to pick. Where should I start?
Create a free account and answer a few quick questions about your experience and goals. You’ll get a personal learning plan with the tutorials and courses that fit you best. You can change direction anytime.
Who creates Real Python content?
Every tutorial and course is created by experienced Python developers and educators, then reviewed by a team of technical and educational editors before it goes live. We’ve been doing this since 2012.
What is Mentor AI?
Mentor AI is a Python mentor built into Real Python. It sees what you’re working on and helps you understand errors, explore topics further, and decide what to learn next. It’s part of a Real Python membership. Learn more about Mentor AI.
Do you offer plans for teams?
Yes. Real Python for Teams gives your whole team access to the full Real Python library.
Your next Python and AI skill starts here
Create a free account to get your personal learning plan and a starter kit for the topic you care about most.
Free forever · No credit card