Skip to content

Sanaurrehmanarain/python-mastery-vault

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python Mastery Tutorial 🐍

Python Version License: MIT Repo Size Last Commit

A structured personal learning repository covering the entire Python ecosystem — from Hello World to advanced design patterns.


📂 Project Structure

# Topic Key Concepts
01 Data Types Strings, Integers, Floats, Type Casting
02 Variables Assignment, Naming Conventions, Memory
03 Boolean Logic Logical Operators, Truth Tables
04 Built-in Methods String & Numeric helper functions
05 Lists Creation, Modification, List Methods
06 Indexing & Slicing Accessing sequences, Step values
07 Dictionaries Key-Value pairs, JSON-like structures
08 Sets Uniqueness, Set Theory (Unions/Intersections)
09 Tuples Immutability, Packing/Unpacking
10 Conditionals If/Else/Elif, Match-Case
11 Loops For, While, Nested Loops
12 Functions & Recursion UDFs, Scope, Recursive Calls
13 Exceptions Try/Except/Finally, Error Handling
14 File I/O Reading/Writing files, Context Managers (with)
15 Regular Expressions Pattern matching with re module
16 OOP Classes, Inheritance, Polymorphism
17 Modules & Libraries Pip, Importing, Standard Library
18 Unit Testing unittest framework, Pytest, .ipynb tests
19 Et Cetera (Advanced) Decorators, Generators, Iterators, Closures
20 User Input & Errors Interactive CLI tools
21 Namespace & Scope Local vs Global, LEGB Rule

🚀 Advanced Highlights — Folder 19

The advanced section explores the "Pythonic" ways of writing clean, efficient code:

Feature Description
Decorators Enhance function behavior without modifying source
Generators Memory-efficient sequences using yield
Walrus Operator Assignment expressions introduced in Python 3.8
Type Hinting Improves code readability and catches errors early

🛠️ How to Use This Repo

1. Clone the repository

git clone https://github.com/sanaurrehmanarain/python-mastery-vault.git
cd python-mastery-vault

2. Explore the folders

Each folder is numbered and named by topic. Inside you'll find .py and .ipynb files with code examples and notes.

3. Run the examples

python 01_data_types/examples.py

📋 Requirements

  • Python 3.8+
  • Optional: Jupyter Notebook for .ipynb files
pip install notebook

Created with ❤️ to document my path to becoming a Python Developer

About

A comprehensive, structured repository documenting my journey from Python fundamentals to advanced concepts, including OOP, Decorators, and Unit Testing.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors