Skip to content
AnilYadav17Public

About

A structured journey through Python programming from core syntax to advanced OOP, data structures, and hands-on practical scripts.

Topics

Resources

Contributing

Stars

4 stars

Watchers

0 watching

Forks

Latest commit

Β 

History

397 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ Python Learning Hub

Python Version License: MIT Code Style: PEP 8 Repository Status

A Structured, Beginner-Friendly & Production-Minded Python Resource

From absolute zero to object-oriented design, standard packages, algorithmic problem solving, and real-world projects.


πŸ“– Overview

Python Learning Hub is a structured collection of Python tutorials, hands-on examples, programming exercises, and revision resources designed to help learners progress from fundamentals to more advanced concepts.

Born out of an authentic, disciplined daily programming journey, this repository brings together over 1,200 executable Python programs, 75+ in-depth Markdown guides, 640+ solved homework assignments, 30 days of structured daily revision notes, and runnable multi-file mini-projects.

Every folder is intentionally named, sequentially numbered, and accompanied by a dedicated README.md explaining the concepts, practical code examples, common pitfalls, and next steps.


🎯 Who Is This For?

  • 🐣 Absolute Beginners: Start at 01_getting_started without prior coding experience. Follow the step-by-step installation guides and learn the fundamentals cleanly.
  • πŸŽ“ College & University Students: Access 640+ topic-wise assignment solutions, lab exercises, and scenario-based unit test problems.
  • πŸ’Ό Interview Candidates: Revise Python internals (CPython memory management, LEGB scope, MRO, GIL, generators) and practice LeetCode array and string patterns.
  • πŸ› οΈ Self-Taught Developers: Reference production design patterns, package construction, custom exceptions, and layered SQLite database architecture.

πŸ—ΊοΈ Learning Roadmap

Follow this sequential progression to navigate the curriculum from zero to advanced:

[ 01_getting_started ] ──> Install Python, REPL, VS Code setup, first script
          β”‚
          β–Ό
[ 02_python_fundamentals ] ─> Variables, Data Types, Operators, Conditionals, Loops
          β”‚
          β–Ό
[ 03_python_collections ] ──> Lists, Matrices, Dictionaries (Hash Maps), Sets, Tuples
          β”‚
          β–Ό
[ 04_functions ] ───────────> Parameters, Scopes (LEGB), Lambdas, Recursion, Decorators
          β”‚
          β–Ό
[ 05_object_oriented_prog ] ─> Classes, Objects, 5 Types of Inheritance, MRO, Abstraction
          β”‚
          β–Ό
[ 06_modules_and_packages ] ─> sys.path, __init__.py, Custom Packages, Standard Libraries
          β”‚
          β–Ό
[ 07_error_and_file_handling ] ─> try-except-else-finally, Custom Errors, Stream I/O, Context Managers
          β”‚
          β–Ό
[ 08_intermediate_python ] ─> 18 Mastery Modules: Concurrency, Memory, Big-O, TDD, Regex
          β”‚
          β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
          β–Ό                                β–Ό                               β–Ό
[ 09_practice_assignments ]    [ 10_coding_challenges ]          [ 13_mini_projects ]
  640+ Solved Homework Tasks     LeetCode Arrays & Strings         Hospital, Banking & Results
          β”‚                                β”‚                               β”‚
          β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                                           β”‚
                                           β–Ό
                       [ 11_revision_and_interview_prep ]
                         30-Day Daily Sprint & Mock Tests

πŸ—‚οΈ Clickable Table of Contents

Directory Core Topics & Focus Key Highlight
πŸ“ 01_getting_started Installation (Linux, Mac, Windows), REPL, Running Scripts Beginner onboarding & setup
πŸ“ 02_python_fundamentals Types, Memory (id, sizeof), Operators, Conditions, Loops, Math 120+ classroom scripts & exam guide
πŸ“ 03_python_collections 2D Matrices, Matrix Math ($O(N^3)$), Hash Maps, Frequency Sets Pair sums & matrix addition
πŸ“ 04_functions Scopes (LEGB), *args/**kwargs, Lambdas, Map/Filter, Recursion Functional programming & decorators
πŸ“ 05_object_oriented_programming 5 Inheritance Types, MRO, super(), ABC Abstraction, Closures Domain modeling & OOP pillars
πŸ“ 06_python_modules_and_packages Package design, __init__.py, sys.path, os, time, calendar Multi-directory architecture
πŸ“ 07_error_and_file_handling try/except/finally, Custom Exceptions, File Modes (r, w, a, r+, w+, x) Defensive I/O & context managers
πŸ“ 08_intermediate_python 18 Architecture Modules: Concurrency, Memory, Big-O, TDD, Regex 90 runnable advanced demos
πŸ“ 09_practice_and_assignments 640+ Solved Assignment Problems organized by subtopic Question sheets + verified solutions
πŸ“ 10_coding_challenges LeetCode solutions (Arrays, Two Pointers, Strings, Sliding Window) Algorithmic problem solving
πŸ“ 11_revision_and_interview_prep Comprehensive In-Depth Guide, Python Mastery Lab & 30-Day Sprint 26 Modules, 9 Projects, 67 Automated Tests
πŸ“ 12_learning_resources Master Reference PDFs, WeasyPrint generator, 16 MCQ sheets High-yield offline revision books
πŸ“ 13_mini_projects Hospital System, Student Result Engine, 4-Tier Banking App Multi-file runnable applications
πŸ“ 14_tests_and_assessments Academic unit tests across learning timeline (April – September) Scenario-based exam problems
πŸ“ 15_archive Raw trial scratchpads, digit prototypes, and sandbox experiments Preserved learning history

⚑ Quickstart: Running Your First Script

1. Clone the Repository

git clone https://github.com/AnilYadav17/Python.git
cd Python

2. Verify Your Environment

No external third-party dependencies are required for the tutorials or assignments! All examples run out of the box on Python 3.10+ using only the Python Standard Library.

python3 --version

3. Run an Example

# Beginner first program:
python3 01_getting_started/first_program.py

# Armstrong number validator:
python3 02_python_fundamentals/Class_Work/Day10/loops/armstrong.py

# Custom banking exceptions:
python3 07_error_and_file_handling/exception_handling/custom_exception_bank_account.py

# Interactive Bank Account Management application:
python3 13_mini_projects/03_bank_account_management/main.py

(Optional development tools like pytest and weasyprint can be installed via pip install -r requirements.txt).


πŸš€ Featured Mini-Projects

Looking to explore complete applications? Head over to 13_mini_projects:

  1. πŸ₯ Hospital Management System:
    • Multi-package architecture (patient, doctor, appointment, billing).
    • Demonstrates package boundary isolation, clean imports, and modular records.
  2. πŸ“Š Student Result Processing Engine:
    • Batch file stream processing with automated CSV parsing.
    • Input validation, marks categorization, result generation, and defensive error logging to error_log.txt.
  3. 🏦 Bank Account Management System:
    • Full 4-Tier layered architecture: Model (Account), Database (SQLite), Data Access Object (DAO), Service Layer, and CLI Presentation.
    • Implements secure parameterized SQL statements and full CRUD capabilities.

πŸ” Repository Status & Authenticity

  • Authentic Learning Record: This repository documents real coursework, coding bootcamps, and disciplined daily practice.
  • 100% Syntax Validated: All 1,209 Python files have been compiled and verified with Python 3's py_compile compiler with 0 syntax errors.
  • Zero Artificial Inflation: We do not claim this repository is an all-inclusive computer science degree. Gaps, unfinished trials, and scratchpad experiments are honestly designated in 15_archive.
  • Non-Destructive Curation: Original code logic, beginner implementations, and question prompts have been preserved intact without overwriting the original learning journey.

πŸ”­ Future Learning Goals & Roadmap

The following topics represent planned additions currently under active development:

  • Advanced Backend Web Development: Production REST APIs using FastAPI and Flask.
  • Automated CI/CD Testing: GitHub Actions test runners executing automated test suites via pytest.
  • Graph Algorithms & Dynamic Programming: Expanding 10_coding_challenges with intermediate/hard graph traversals (BFS/DFS, Dijkstra) and DP state machines.
  • Dockerization: Containerizing the mini-projects with reproducible Docker environments.

🀝 Contributing

Contributions, typo fixes, improved docstrings, alternative algorithmic solutions, and additional test cases are always welcome! Please check our CONTRIBUTING.md for our pull request workflow and coding standards.


πŸ“œ License

This repository is distributed under the MIT License. You are free to use, study, fork, and share this code for educational and personal projects.


πŸ‘€ Author

Anil Yadav
Computer Science & Engineering Student
Passionate Software Developer & Open Source Contributor


"Consistency beats intensity. Small daily improvements over time lead to stunning results."
Crafted with ❀️ and dedication. If this repository helps your Python journey, give it a ⭐ on GitHub!

About

A structured journey through Python programming from core syntax to advanced OOP, data structures, and hands-on practical scripts.

Topics

Resources

Contributing

Stars

4 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages