A structured personal learning repository covering the entire Python ecosystem — from
Hello Worldto advanced design patterns.
| # | 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 |
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 |
1. Clone the repository
git clone https://github.com/sanaurrehmanarain/python-mastery-vault.git
cd python-mastery-vault2. 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- Python
3.8+ - Optional: Jupyter Notebook for
.ipynbfiles
pip install notebookCreated with ❤️ to document my path to becoming a Python Developer