Welcome to Mastering Python — a collection of notes, exercises, and mini-projects to help you become a Python pro, whether you're a beginner or brushing up your skills.
This repo is organized into multiple sections that cover both the basics and advanced topics:
- Variables and Data Types
- Operators
- Control Flow (if/else, loops)
- Functions
- Modules and Packages
- File Handling (Read/Write)
- Error Handling (try/except)
- List Comprehensions
- Lambda,
map(),filter(),zip()
- Classes and Objects
- Inheritance and Polymorphism
- Dunder Methods (
__init__,__str__, etc.)
- Lists, Tuples, Sets, Dictionaries
- Stacks, Queues, Linked Lists (with Python code)
os,sys,datetime,json,requests,argparse,itertools- Virtual environments &
pip
- Generators & Iterators
- Decorators
- Context Managers
- Multi-threading vs Multi-processing
- Type Hinting
- Regular Expressions
unittest/pytest- Debugging techniques
- Pythonic tips & best practices
- Small projects / challenges
- Real-world script examples
- 🧑💻 Beginners looking to learn Python step-by-step
- 🧠 Developers transitioning from other languages
- 🧪 Students preparing for coding interviews
- 🐍 Anyone who loves Python ❤️
- Clone the repo:
git clone https://github.com/0xmuka/mastering_python.git