AI/ML Foundation
🐍

Python

The practical programming foundation for every DeepML learner before machine learning and LLM work.

Modules
30
Lessons
105
Labs
5
Hours
21
Next Step

Guide

Use Python confidently for data work, automation, APIs, testing, labs, and AI/ML projects.

Open lesson

Read

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.

Course Path

Follow a guided syllabus.

Start from fundamentals, revisit any module, and keep a clear path toward projects and certificates.

  1. 01

    Python Basics

    3 lessons33 min

    Finish this module able to use Python Basics as part of real Python work.

    Open module
  2. 02

    Strings

    3 lessons33 min

    Finish this module able to use Strings as part of real Python work.

    Open module
  3. 03

    Control Flow

    3 lessons32 min

    Finish this module able to use Control Flow as part of real Python work.

    Open module
  4. 04

    Data Structures

    3 lessons33 min

    Finish this module able to use Data Structures as part of real Python work.

    Open module
  5. 05

    Functions

    4 lessons43 min

    Finish this module able to use Functions as part of real Python work.

    Open module
  6. 06

    Modules Packages

    3 lessons38 min

    Finish this module able to use Modules Packages as part of real Python work.

    Open module
  7. 07

    File Handling

    3 lessons41 min

    Finish this module able to use File Handling as part of real Python work.

    Open module
  8. 08

    Error Handling

    4 lessons50 min

    Finish this module able to use Error Handling as part of real Python work.

    Open module
  9. 09

    Oop

    4 lessons47 min

    Finish this module able to use Oop as part of real Python work.

    Open module
  10. 10

    Advanced Functions

    4 lessons40 min

    Finish this module able to use Advanced Functions as part of real Python work.

    Open module
  11. 11

    Advanced Data

    3 lessons33 min

    Finish this module able to use Advanced Data as part of real Python work.

    Open module
  12. 12

    Real Development

    3 lessons34 min

    Finish this module able to use Real Development as part of real Python work.

    Open module
  13. 13

    Regex

    3 lessons31 min

    Finish this module able to use Regex as part of real Python work.

    Open module
  14. 14

    Concurrency

    3 lessons33 min

    Finish this module able to use Concurrency as part of real Python work.

    Open module
  15. 15

    Database

    3 lessons35 min

    Finish this module able to use Database as part of real Python work.

    Open module
  16. 16

    Networking Apis

    3 lessons39 min

    Finish this module able to use Networking Apis as part of real Python work.

    Open module
  17. 17

    Testing

    3 lessons45 min

    Finish this module able to use Testing as part of real Python work.

    Open module
  18. 18

    Packaging

    3 lessons43 min

    Finish this module able to use Packaging as part of real Python work.

    Open module
  19. 19

    Performance

    3 lessons37 min

    Finish this module able to use Performance as part of real Python work.

    Open module
  20. 20

    Data Science Ml

    8 lessons2 hr

    Finish this module able to use Data Science Ml as part of real Python work.

    Open module
  21. 21

    Automation

    3 lessons40 min

    Finish this module able to use Automation as part of real Python work.

    Open module
  22. 22

    Web Development

    3 lessons44 min

    Finish this module able to use Web Development as part of real Python work.

    Open module
  23. 23

    Security

    3 lessons57 min

    Finish this module able to use Security as part of real Python work.

    Open module
  24. 24

    Design Patterns

    3 lessons40 min

    Finish this module able to use Design Patterns as part of real Python work.

    Open module
  25. 25

    Type Hints

    3 lessons37 min

    Finish this module able to use Type Hints as part of real Python work.

    Open module
  26. 26

    Cli Applications

    3 lessons39 min

    Finish this module able to use Cli Applications as part of real Python work.

    Open module
  27. 27

    Api Development

    3 lessons47 min

    Finish this module able to use Api Development as part of real Python work.

    Open module
  28. 28

    Docker Deployment

    3 lessons41 min

    Finish this module able to use Docker Deployment as part of real Python work.

    Open module
  29. 29

    Debugging Profiling

    3 lessons40 min

    Finish this module able to use Debugging Profiling as part of real Python work.

    Open module
  30. 30

    Real World Projects

    9 lessons1 hr

    Finish this module able to use Real World Projects as part of real Python work.

    Open module
Course Guide

Instructor notes and source guide

3 min read10 headings

🐍 Complete Python Learning Curriculum

Python License: MIT CI

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

#TopicLevelDescription
01Python Basics🟒 BeginnerSyntax, variables, operators, I/O
02Strings🟒 BeginnerString manipulation and formatting
03Control Flow🟒 BeginnerConditions and loops
04Data Structures🟒 BeginnerLists, tuples, dicts, sets
05Functions🟑 IntermediateFunctions, lambda, recursion
06Modules & Packages🟑 IntermediateImports, pip, virtual envs
07File Handling🟑 IntermediateReading/writing files
08Error Handling🟑 IntermediateExceptions and error management
09OOP🟑 IntermediateObject-oriented programming
10Advanced FunctionsπŸ”΄ AdvancedDecorators, generators, closures
11Advanced DataπŸ”΄ AdvancedCollections, memory, copying
12Dev ModulesπŸ”΄ Advancedos, sys, pathlib, logging
13RegexπŸ”΄ AdvancedRegular expressions
14ConcurrencyπŸ”΄ AdvancedThreading, async, multiprocessing
15DatabaseπŸ”΄ AdvancedSQLite, ORMs
16NetworkingπŸ”΄ AdvancedHTTP, sockets, APIs
17TestingπŸ”΄ Advancedunittest, pytest
18PackagingπŸ”΄ AdvancedDistribution, PyPI
19PerformanceπŸ”΄ AdvancedOptimization, profiling
20Data ScienceπŸ”΄ AdvancedNumPy, Pandas, ML, Jupyter
21AutomationπŸ”΄ AdvancedScripting, web scraping
22Web DevelopmentπŸ”΄ AdvancedFlask, Django, FastAPI
23SecurityπŸ”΄ AdvancedHashing, encryption
24Design PatternsπŸ”΄ AdvancedSingleton, Factory, Observer, etc.
25Type Hints🟑 IntermediateStatic typing, generics, protocols
26CLI ApplicationsπŸ”΄ Advancedargparse, Click, rich terminal
27API DevelopmentπŸ”΄ AdvancedREST, FastAPI, authentication
28Docker & DeploymentπŸ”΄ AdvancedContainers, CI/CD, production
29Debugging & ProfilingπŸ”΄ Advancedpdb, profiling, memory tracking
30Real World ProjectsπŸ”΄ AdvancedComplete 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

  1. Start from Folder 01 and work through sequentially
  2. Each folder has:
    • README.md - Concept explanation
    • examples.py - Practical code examples
    • exercises.py - Practice problems
    • solutions.py - Reference solutions (some modules)
  3. Run the examples to see how code works
  4. 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! πŸŽ‰