Python Programming

  1. Advanced Python Concepts
    1. Iterators and Generators
      1. Iterator Protocol
        1. iter Method
          1. next Method
            1. StopIteration Exception
            2. Built-in Iterators
              1. iter() Function
                1. next() Function
                2. Generator Functions
                  1. yield Keyword
                    1. Generator Objects
                      1. Lazy Evaluation
                      2. Generator Expressions
                        1. Syntax
                          1. Memory Efficiency
                          2. Generator Methods
                            1. send() Method
                              1. throw() Method
                                1. close() Method
                              2. Decorators
                                1. Function Objects
                                  1. First-Class Functions
                                    1. Function Assignment
                                      1. Function Arguments
                                      2. Decorator Concept
                                        1. Function Wrapping
                                          1. Behavior Modification
                                          2. Simple Decorators
                                            1. Decorator Functions
                                              1. @ Syntax
                                                1. Decorator Application
                                                2. Decorators with Arguments
                                                  1. Decorator Factories
                                                    1. Parameterized Decorators
                                                    2. Built-in Decorators
                                                      1. @property
                                                        1. @staticmethod
                                                          1. @classmethod
                                                          2. functools Module
                                                            1. wraps() Decorator
                                                              1. Decorator Utilities
                                                            2. Context Managers
                                                              1. Context Manager Protocol
                                                                1. enter Method
                                                                  1. exit Method
                                                                  2. with Statement
                                                                    1. Resource Management
                                                                      1. Exception Handling
                                                                      2. Creating Context Managers
                                                                        1. Class-Based Context Managers
                                                                          1. Function-Based Context Managers
                                                                          2. contextlib Module
                                                                            1. @contextmanager Decorator
                                                                              1. Context Manager Utilities
                                                                            2. Concurrency
                                                                              1. Concurrency Concepts
                                                                                1. Parallelism vs Concurrency
                                                                                  1. Synchronous vs Asynchronous
                                                                                  2. Threading
                                                                                    1. threading Module
                                                                                      1. Thread Creation
                                                                                        1. Thread Synchronization
                                                                                          1. Locks
                                                                                            1. Semaphores
                                                                                              1. Conditions
                                                                                              2. Global Interpreter Lock (GIL)
                                                                                              3. Multiprocessing
                                                                                                1. multiprocessing Module
                                                                                                  1. Process Creation
                                                                                                    1. Inter-Process Communication
                                                                                                      1. Queues
                                                                                                        1. Pipes
                                                                                                          1. Shared Memory
                                                                                                        2. Asynchronous Programming
                                                                                                          1. asyncio Module
                                                                                                            1. Event Loop
                                                                                                              1. Coroutines
                                                                                                                1. async Functions
                                                                                                                  1. await Expressions
                                                                                                                  2. Asynchronous Tasks
                                                                                                                    1. Task Creation
                                                                                                                      1. Task Management