One of the key features of Python is its support for iterable objects and iterators. In this article, we will take a closer look at what they are and...
Monkey patching refers to modifying or updating a piece of code or class or any module at runtime. With that, we can change the behaviour or working...
The usage of resources such as files, locks, database connections etc. is very common in a program. Since these resources are limited in supply, we...
In the article: Functions as Objects, we had seen that Python functions can accept another function as a parameter and can also return a function as...
In the previous article, we saw that we can define functions inside another function, and doing so would create the enclosing scope , using which we...
The scope of a name defines the area of a program in which you can unambiguously access that name, such as variables, functions, objects, and so on....