A free, structured roadmap to learn Python from zero to project-ready — with AI tutoring to help you every step of the way.
Don't just read docs. Have a conversation. LearnAI builds you a personalized Python curriculum and teaches through chat. It adapts to your pace, answers your questions, and helps you build real projects.
This roadmap is designed for complete beginners. Each module builds on the last. Estimated total time: 8–12 weeks at 1–2 hours/day.
- Installing Python and setting up your environment
- Variables, data types, and operators
- Strings: formatting, slicing, methods
- Control flow:
if/elif/else - Loops:
for,while,range(),enumerate() - Functions: parameters, return values, default arguments
- Challenge: Build a number guessing game →
- Lists, tuples, and list comprehensions
- Dictionaries and dictionary comprehensions
- Sets and frozensets
- Nested data structures
- Sorting and searching
- Challenge: Build a student grade tracker →
- File I/O: reading, writing, CSV, JSON
- Error handling:
try/except/finally - Modules and packages
- Object-Oriented Programming: classes, inheritance, methods
- Decorators and generators (intro)
- Challenge: Build a file organizer →
- Virtual environments and
pip - Requests library: working with APIs
- Pandas basics: DataFrames, filtering, groupby
- Data visualization with Matplotlib
- Web scraping basics with BeautifulSoup
- Challenge: Build a weather dashboard →
- Command-line tools with
argparseorclick - Database basics with SQLite
- Flask or FastAPI: building your first web API
- Testing with
pytest - Challenge: Build a URL shortener API →
- Async programming with
asyncio - Type hints and
mypy - Python packaging and distribution
- Introduction to AI/ML with Python (see AI/ML Roadmap)
- Capstone: Build and deploy a complete Python project
- Follow the modules in order. Each builds on the previous.
- Do the challenges. Reading ≠ learning. Building = learning.
- Get unstuck with AI. When you hit a wall, chat with LearnAI — it knows this roadmap and can explain any concept in context.
- Track your progress. Fork this repo and check off items as you complete them.
| Module | Recommended Resource |
|---|---|
| Basics | Python.org Official Tutorial |
| Data Structures | Automate the Boring Stuff Ch. 4–6 |
| Intermediate | Real Python Tutorials |
| Data | Kaggle Learn: Pandas |
| Projects | FastAPI Tutorial |
| Advanced | AI/ML Roadmap |
This roadmap gives you the structure. LearnAI gives you the tutor.
- Tell it what you want to learn
- It builds your custom curriculum
- Learn by chatting — ask questions, get explanations, build projects
- It adapts to your pace and knowledge level
Start learning Python with AI →
Found a broken link? Want to add a resource? PRs welcome!
MIT