Decode-AiML

1.12 Scope and Namespace in Python


Lecture 1.12.1) Scope in Python - Global, Local, Enclosed and Built-in Explained - LEGB Rule - Hindi

Video Link: Watch on YouTube

Notes Link : Scope and Namespace in Python

Video Description:

πŸ“˜ Topics Covered:

  1. Introduction to Scope in Python with Examples
  2. Local Scope Explained
  3. Global Scope Explained
  4. global and nonlocal Keywords
  5. Enclosed Scope Explained
  6. Built-in Scope Explained
  7. Updating Outer Scope Variables
  8. Python Scope LEGB Rule Explained.

#ScopeInPython #LEGBRule #PythonScope #GlobalLocalScope #DecodeAiML #PythonInHindi #nonlocalKeyword #PythonTutorial


Lecture 1.12.2) [Bonus] Namespace in Python Explained - Global, Local, Built-in & LEGB Rule - Hindi

Video Link: Watch on YouTube

Notes Link : Scope and Namespace in Python

Video Description: In this video from the Decode AiML Python Series, we dive deep into Custom Exceptions in Python and how they help in building clean, maintainable, and production-grade code. Learn how to create your own exception classes, raise and handle them effectively, and explore real-world examples from the AI/ML domain.

πŸ“˜ Topics Covered:

  1. What Are Custom Exceptions in Python?
  2. Custom Exceptions vs Inbuilt Exceptions
  3. How to Write a Custom Exception Class
  4. How to Raise and Handle Custom Exceptions
  5. Real-World Exception Handling Examples in the AI/ML Domain

#CustomExceptionsPython #ExceptionHandling #PythonInHindi #DecodeAiML #LearnPython #PythonExceptions #AILifeCycle #MLPipeline #PythonForAI #pythontutorial


Decode AiML Youtube Channel : @decodeAiML


πŸ‘¨β€πŸ’» About Decode AI:

We’re not your average tutorial channel. Decode AiML is built by IIT alumni with hands-on experience at companies like Google, NVIDIA, Samsung Research, Oracle, and Flipkart.

πŸŽ“ Our mission is simple:

Help you crack roles like Applied Scientist, Data Scientist, and ML Engineer at MAANG and other top tech companies β€” with real-world guidance that bridges the gap between YouTube tutorials and actual interview expectations.