🐍

Python

The Last Python Course You Need

31Modules
100Lessons

🐍 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! πŸŽ‰