Beyond Basics: Python is a curated collection of Python code examples, exercises, and implementations aimed at developers who want to strengthen their grasp of intermediate to advanced Python concepts. This project is ideal for developers familiar with Python syntax and eager to understand how things work behind the scenes β from functions and loops to decorators, object-oriented programming, and external integrations.
This repository uses a range of Python capabilities and standard library tools. Some notable implementations include:
- Decorators for caching, debugging, and timing functions (MDN Explanation)
- Object-Oriented Programming (OOP) concepts including inheritance and method overriding
- Mutable vs Immutable types in Python β a deep dive into behavior and memory implications
- Python iteration internals including iterator protocol and generator workflows
- Function closures and scope handling (MDN Scope Reference)
- API integration using requestsand JSON manipulation
- SQLite & MongoDB integration to simulate lightweight data operations
- Basic error handling and control flow using try-exceptblocks
In addition to the Python standard library, the repo uses:
- requests: For handling external API calls
- pymongo: To demonstrate MongoDB-based storage and retrieval
- sqlite3: For simple SQL-based data persistence
- functools: Used in decorator examples
- Open-source system fonts assumed by default; no custom font specified in code
beyond-basics-python/
βββ 01_basics/
βββ 10_Conditionals/
βββ 10_functions/
βββ 10_loops/
βββ Api_handling/
βββ Decoraters/
βββ Dictionary/
βββ Error_handling/
βββ List/
βββ Numbers/
βββ OOP/
βββ String/
βββ Tuples/
βββ bts_in_loops/
βββ inner-working/
βββ muteableVsimmutable/
βββ scope_and_clousers/
βββ youtube_manager/- Api_handling/β Demonstrates integration with a public API using- requests
- Decoraters/β Includes performance and debug decorators
- youtube_manager/β Uses both SQLite and MongoDB for CRUD-based data persistence
- bts_in_loops/β Explains what happens internally during iteration
- scope_and_clousers/β Shows lexical scoping and closures in action
- inner-working/β Contains memory management and execution flow examples
- Wasim Akram β LinkedIn Profile
- Contact: malikwaseemshzad@gmail.com