Python
The practical programming foundation for every DeepML learner before machine learning and LLM work.
- Modules
- 30
- Lessons
- 105
- Labs
- 5
- Hours
- 21
Guide
Use Python confidently for data work, automation, APIs, testing, labs, and AI/ML projects.
Open lessonRead
Start with the plain-English model before syntax or formulas.
Run
Open examples and labs when the concept needs motion.
Check
Use practice and progress to close the loop before moving on.
Ship
Turn modules into projects and certificates you can show.
Follow a guided syllabus.
Start from fundamentals, revisit any module, and keep a clear path toward projects and certificates.
- 01Open module
Python Basics
3 lessons33 minFinish this module able to use Python Basics as part of real Python work.
- 02Open module
Strings
3 lessons33 minFinish this module able to use Strings as part of real Python work.
- 03Open module
Control Flow
3 lessons32 minFinish this module able to use Control Flow as part of real Python work.
- 04Open module
Data Structures
3 lessons33 minFinish this module able to use Data Structures as part of real Python work.
- 05Open module
Functions
4 lessons43 minFinish this module able to use Functions as part of real Python work.
- 06Open module
Modules Packages
3 lessons38 minFinish this module able to use Modules Packages as part of real Python work.
- 07Open module
File Handling
3 lessons41 minFinish this module able to use File Handling as part of real Python work.
- 08Open module
Error Handling
4 lessons50 minFinish this module able to use Error Handling as part of real Python work.
- 09Open module
Oop
4 lessons47 minFinish this module able to use Oop as part of real Python work.
- 10Open module
Advanced Functions
4 lessons40 minFinish this module able to use Advanced Functions as part of real Python work.
- 11Open module
Advanced Data
3 lessons33 minFinish this module able to use Advanced Data as part of real Python work.
- 12Open module
Real Development
3 lessons34 minFinish this module able to use Real Development as part of real Python work.
- 13Open module
Regex
3 lessons31 minFinish this module able to use Regex as part of real Python work.
- 14Open module
Concurrency
3 lessons33 minFinish this module able to use Concurrency as part of real Python work.
- 15Open module
Database
3 lessons35 minFinish this module able to use Database as part of real Python work.
- 16Open module
Networking Apis
3 lessons39 minFinish this module able to use Networking Apis as part of real Python work.
- 17Open module
Testing
3 lessons45 minFinish this module able to use Testing as part of real Python work.
- 18Open module
Packaging
3 lessons43 minFinish this module able to use Packaging as part of real Python work.
- 19Open module
Performance
3 lessons37 minFinish this module able to use Performance as part of real Python work.
- 20Open module
Data Science Ml
8 lessons2 hrFinish this module able to use Data Science Ml as part of real Python work.
- 21Open module
Automation
3 lessons40 minFinish this module able to use Automation as part of real Python work.
- 22Open module
Web Development
3 lessons44 minFinish this module able to use Web Development as part of real Python work.
- 23Open module
Security
3 lessons57 minFinish this module able to use Security as part of real Python work.
- 24Open module
Design Patterns
3 lessons40 minFinish this module able to use Design Patterns as part of real Python work.
- 25Open module
Type Hints
3 lessons37 minFinish this module able to use Type Hints as part of real Python work.
- 26Open module
Cli Applications
3 lessons39 minFinish this module able to use Cli Applications as part of real Python work.
- 27Open module
Api Development
3 lessons47 minFinish this module able to use Api Development as part of real Python work.
- 28Open module
Docker Deployment
3 lessons41 minFinish this module able to use Docker Deployment as part of real Python work.
- 29Open module
Debugging Profiling
3 lessons40 minFinish this module able to use Debugging Profiling as part of real Python work.
- 30Open module
Real World Projects
9 lessons1 hrFinish this module able to use Real World Projects as part of real Python work.
Instructor notes and source guide
π Complete Python Learning Curriculum
A comprehensive Python learning path from beginner to advanced with 30 structured modules, hands-on exercises, and real-world projects.
Welcome to Your Python Journey!
This is a comprehensive Python learning path from beginner to advanced. Each folder contains detailed lessons with explanations and practical examples.
π Course Structure
| # | Topic | Level | Description |
|---|---|---|---|
| 01 | Python Basics | π’ Beginner | Syntax, variables, operators, I/O |
| 02 | Strings | π’ Beginner | String manipulation and formatting |
| 03 | Control Flow | π’ Beginner | Conditions and loops |
| 04 | Data Structures | π’ Beginner | Lists, tuples, dicts, sets |
| 05 | Functions | π‘ Intermediate | Functions, lambda, recursion |
| 06 | Modules & Packages | π‘ Intermediate | Imports, pip, virtual envs |
| 07 | File Handling | π‘ Intermediate | Reading/writing files |
| 08 | Error Handling | π‘ Intermediate | Exceptions and error management |
| 09 | OOP | π‘ Intermediate | Object-oriented programming |
| 10 | Advanced Functions | π΄ Advanced | Decorators, generators, closures |
| 11 | Advanced Data | π΄ Advanced | Collections, memory, copying |
| 12 | Dev Modules | π΄ Advanced | os, sys, pathlib, logging |
| 13 | Regex | π΄ Advanced | Regular expressions |
| 14 | Concurrency | π΄ Advanced | Threading, async, multiprocessing |
| 15 | Database | π΄ Advanced | SQLite, ORMs |
| 16 | Networking | π΄ Advanced | HTTP, sockets, APIs |
| 17 | Testing | π΄ Advanced | unittest, pytest |
| 18 | Packaging | π΄ Advanced | Distribution, PyPI |
| 19 | Performance | π΄ Advanced | Optimization, profiling |
| 20 | Data Science | π΄ Advanced | NumPy, Pandas, ML, Jupyter |
| 21 | Automation | π΄ Advanced | Scripting, web scraping |
| 22 | Web Development | π΄ Advanced | Flask, Django, FastAPI |
| 23 | Security | π΄ Advanced | Hashing, encryption |
| 24 | Design Patterns | π΄ Advanced | Singleton, Factory, Observer, etc. |
| 25 | Type Hints | π‘ Intermediate | Static typing, generics, protocols |
| 26 | CLI Applications | π΄ Advanced | argparse, Click, rich terminal |
| 27 | API Development | π΄ Advanced | REST, FastAPI, authentication |
| 28 | Docker & Deployment | π΄ Advanced | Containers, CI/CD, production |
| 29 | Debugging & Profiling | π΄ Advanced | pdb, profiling, memory tracking |
| 30 | Real World Projects | π΄ Advanced | Complete production applications |
πΊοΈ Learning Paths
See LEARNING_PATH.md for structured learning tracks:
- π’ Beginner Foundation - Start here if new to programming
- π Web Developer Track - Build APIs and web applications
- π Data Scientist Track - Data analysis and machine learning
- βοΈ DevOps Engineer Track - Automation and deployment
- π΄ Advanced Python Track - Become a Python expert
π How to Use This Curriculum
- Start from Folder 01 and work through sequentially
- Each folder has:
README.md- Concept explanationexamples.py- Practical code examplesexercises.py- Practice problemssolutions.py- Reference solutions (some modules)
- Run the examples to see how code works
- Complete exercises before moving to the next topic
ποΈ Mini-Projects
In 30_real_world_projects/ you'll find complete working projects:
- 01_task_api/ - REST API with FastAPI, JWT auth, SQLAlchemy, Docker
- 02_cli_tool/ - Developer CLI with Click and Rich
- 03_web_scraper/ - Async web scraper with aiohttp and BeautifulSoup
Each project demonstrates production-ready patterns and best practices.
π€ Contributing
Contributions are welcome! Please see CONTRIBUTING.md for guidelines.
π License
This project is licensed under the MIT License - see the LICENSE file for details.
π‘ Tips for Learning
- π Practice daily - Consistency beats intensity
- π Take notes - Write down what you learn
- π Debug errors - Errors teach you the most
- ποΈ Build projects - Apply concepts in real projects
- π€ Ask questions - Never hesitate to seek help
π οΈ Setup Required
# Check Python version (3.8+ recommended)
python3 --version
# Create a virtual environment (recommended)
python3 -m venv venv
source venv/bin/activate # Linux/Mac
# venv\Scripts\activate # Windows
# Install any packages as needed
pip install <package_name>
β Star History
If you find this curriculum helpful, please consider giving it a star! β
Happy Learning! π